Ask Your Question

how to do puppet apply for the installed puppet module ?

asked 2015-12-08 13:15:44 -0500

ramji-puppet gravatar image

how to do puppet apply for the installed puppet module ?For example to install choclatey module through puppet i go for "puppet module install chocolatey-chocolatey",

└─┬ chocolatey-chocolatey (v1.2.1) ├── badgerious-windows_env (v2.2.2) ├── puppetlabs-powershell (v1.0.6) └── puppetlabs-stdlib (v4.9.1)

after that I need to know how to do puppet apply so that it will actually installs the module

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2015-12-09 02:56:51 -0500

ramji-puppet gravatar image

I tried the same an get the following error.

Error: Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value,

edit flag offensive delete link more

answered 2015-12-08 15:15:39 -0500

lupin gravatar image

If the module you install has an tests/init.pp that contains include <module_name> you can apply it using

puppet apply module/tests/init.pp
edit flag offensive delete link more



Even without such a file, you can simply run puppet apply -e "include chocolatey"

lavaman gravatar imagelavaman ( 2015-12-08 18:30:38 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-12-08 13:15:44 -0500

Seen: 36 times

Last updated: Dec 09 '15