Re: [Puppet Users] removing resource on windows?

12 views
Skip to first unread message
Message has been deleted

Rob Nelson

unread,
May 21, 2018, 7:08:19 PM5/21/18
to puppet...@googlegroups.com
Can you show the actual code you're using in your manifest? That example is good for the CLI but is not valid puppet DSL.


On Mon, May 21, 2018 at 2:07 PM, Jason McMahan <jason.m...@gmail.com> wrote:
Good day,
I am a bit confused. 
I can go to the command line type 
puppet resource package 'VMware Tools' ensure=absent 

and puppet will remove the package happily.

However i have the same exact code in my manifest and it complains at agent run that it requires source.

Doesnt this seem a little absurd i can kill the package from command line without any source parameter but not the manifest?

Help or suggestions would be appreciated.

Thank you

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f3983844-5df5-4cf8-9793-4fec7f857c9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jason McMahan

unread,
May 21, 2018, 7:28:48 PM5/21/18
to Puppet Users
Imagine that, it was a pebcak error

Sigh, i apologize for not seeing my mistake prior to posting.

Thank you Rob

On Monday, May 21, 2018 at 2:08:19 PM UTC-5, Rob Nelson wrote:
Can you show the actual code you're using in your manifest? That example is good for the CLI but is not valid puppet DSL.
On Mon, May 21, 2018 at 2:07 PM, Jason McMahan <jason.m...@gmail.com> wrote:
Good day,
I am a bit confused. 
I can go to the command line type 
puppet resource package 'VMware Tools' ensure=absent 

and puppet will remove the package happily.

However i have the same exact code in my manifest and it complains at agent run that it requires source.

Doesnt this seem a little absurd i can kill the package from command line without any source parameter but not the manifest?

Help or suggestions would be appreciated.

Thank you

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.

Rob Nelson

unread,
May 21, 2018, 7:37:34 PM5/21/18
to puppet...@googlegroups.com
Rubber Ducky as a Service :)
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d960528e-82b1-4de9-bcab-9bf88c9ace52%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages