[Puppet Users] Running Module assitant in puppet

2013-10-18 Thread Mani Devarajan
Hello, For my puppet workflow, i need to run module-assistant auto-install openvswitch-datapath. Which resource type will be best to execute this command. Should i use Exec resource type. Can you please suggest what will be the best way to implement this. Appreciate your response. Thanks

Re: [Puppet Users] Re: Need input on how to run a file with list of commands

2013-09-16 Thread Mani Devarajan
://github.com/adrienthebo/puppet-network =MobileMail= Please excuse brevity or spelling errors On Sep 15, 2013, at 22:31, Mani Devarajan manidevara...@gmail.com wrote: All, Adding /bin/bash helped fix the issue. Thanks all. command = /bin/bash $intconfigfile, Thanks, Mani

[Puppet Users] Need help with defining same package resource in two modules

2013-09-16 Thread Mani Devarajan
Hello all, I have two puppet modules A B. A module is enabled or disabled with flag set to true or false respectively. I need a package pkg1 to do complete the workflow of B. Module A: package { pkg1: ensure = installed } Module B: package { pkg1: ensure = installed } Case1:

[Puppet Users] Need input on how to run a file with list of commands

2013-09-15 Thread Mani Devarajan
Hello, I am downloading a file from puppet master which has list of ifconfig command and run it using exec command on client. But it fails change from notrun to 0 failed: intconfig returned 1 instead of one of [0] at. Any suggestion on how to overcome this error. Thanks in advance. File

[Puppet Users] Re: Need input on how to run a file with list of commands

2013-09-15 Thread Mani Devarajan
All, Adding /bin/bash helped fix the issue. Thanks all. command = /bin/bash $intconfigfile, Thanks, Mani On Sunday, September 15, 2013 4:55:08 PM UTC-7, Mani Devarajan wrote: Hello, I am downloading a file from puppet master which has list of ifconfig command and run it using exec

[Puppet Users] How to download host specific file

2013-07-10 Thread Mani Devarajan
Hello, We have close to 10 nodes running puppet agent, and currently all of them download same file from puppet master. Current definition: file { /etc/test.conf: mode = 440, owner = root, group = root, content = template('vem/test.conf.erb') } New