f5devcentral / f5-puppet

Puppet modules for F5 BIG-IP
Apache License 2.0
13 stars 27 forks source link

f5_command never calls POST #21

Open bFekete opened 6 years ago

bFekete commented 6 years ago

I have a wrapper module that calls create_resources and here's the YAML.

f5_command:
  '/Common/tmsh':
    tmsh: 'tmsh install /sys crypto cert test3.com from-local-file /shared/tmp/test.com.crt'
Notice: /Stage[main]/Wrapper_module/F5_command[/Common/tmsh]/tmsh: defined 'tmsh' as 'tmsh install /sys crypto cert test3.com from-local-file /shared/tmp/test.com.crt'

But no SSL certificate was imported.

I added a Debug statement in the post function and it doesn't even display it.

happymcplaksin commented 6 years ago

This sounds similar to #20 where adding ensurable to the type triggered the POST.

bFekete commented 6 years ago

@happymcplaksin You're a genius. It worked. I'll submit a PR.