Actually.... I can. That's sweet! Thanks! On Thu, Nov 3, 2011 at 12:10 PM, Douglas Garstang <doug.garst...@gmail.com> wrote: > Just from looking at the example there, it doesn't appear that I can > call sysctl::conf more than once.... That's what I like about concat, > ie each module that needs to add to it can do so individually. > > Doug. > > On Thu, Nov 3, 2011 at 12:04 PM, Mark Christian <mchri...@altera.com> wrote: >> Can't speak to concat, but you might consider using augeas for managing >> /etc/sysctl.conf. There is an excellent example of this at: >> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Augeas , see "Working >> Examples" >> >>> -----Original Message----- >>> From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] >>> On Behalf Of Douglas Garstang >>> Sent: Thursday, November 03, 2011 11:59 AM >>> To: Puppet Users >>> Subject: [Puppet Users] Concat module >>> >>> All, >>> >>> Trying to use the concat module.... with: >>> >>> >>> class sysctl::common { >>> >>> include concat::setup >>> >>> concat { >>> '/etc/sysctl.conf': >>> owner => 'root', >>> group => 'root', >>> mode => '0644'; >>> } >>> >>> concat::fragment { >>> '/etc/sysctl.conf': >>> target => '/etc/sysctl.conf', >>> content => 'kernel.sem=250 32000 32 2048', >>> order => '99'; >>> } >>> >>> } >>> >>> Getting this error: >>> Nov 3 14:54:04 dev-c3-app-90 puppet-agent[8143]: Failed to apply >>> catalog: Parameter path failed: File paths must be fully qualified, >>> not 'undef' at /etc/puppet/devmp/modules/concat/manifests/setup.pp:37 >>> >>> What am I doing wrong? >>> >>> Doug. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Puppet Users" group. >>> To post to this group, send email to puppet-users@googlegroups.com. >>> To unsubscribe from this group, send email to puppet- >>> users+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/puppet-users?hl=en. >>> >> >> >> Confidentiality Notice. >> This message may contain information that is confidential or otherwise >> protected from disclosure. If you are not the intended recipient, you are >> hereby notified that any use, disclosure, dissemination, distribution, or >> copying of this message, or any attachments, is strictly prohibited. If >> you have received this message in error, please advise the sender by reply >> e-mail, and delete the message and any attachments. Thank you. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> >> > > > > -- > Regards, > > Douglas Garstang > http://www.linkedin.com/in/garstang > Email: doug.garst...@gmail.com > Cell: +1-805-340-5627 >
-- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garst...@gmail.com Cell: +1-805-340-5627 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.