John Warburton
2010-Sep-14 00:29 UTC
[Puppet Users] Making edits to /etc/system on Solaris
Hi All Just wondering what everyone else does when editing /etc/system on Solaris It is on the Augeas To Do list (http://augeas.net/page/Augeas_on_Solaris) - has anyone tried a lens for it? I tried to start but the file format is almost free form and there would always be an exception causing the parse to fail So, apart from http://projects.puppetlabs.com/projects/1/wiki/Simple_Text_Patterns, I don''t see any other solution Thanks John -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Brian Gallew
2010-Sep-14 05:03 UTC
Re: [Puppet Users] Making edits to /etc/system on Solaris
I''ve basically ended up with one /etc/system to rule them all (and in the darkness bind them?). Fortunately for me, my systems are large enough to support this and there have been no conflicting requirements. I''m sure I''m losing some tiny bit of performance and memory, but I really can''t work up enough concern to do anything about it. On Mon, Sep 13, 2010 at 5:29 PM, John Warburton <jwarburton@gmail.com>wrote:> Hi All > > Just wondering what everyone else does when editing /etc/system on Solaris > > It is on the Augeas To Do list (http://augeas.net/page/Augeas_on_Solaris) > - has anyone tried a lens for it? I tried to start but the file format is > almost free form and there would always be an exception causing the parse to > fail > > So, apart from > http://projects.puppetlabs.com/projects/1/wiki/Simple_Text_Patterns, I > don''t see any other solution > > Thanks > > John > > -- > 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+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
John Warburton
2010-Sep-14 05:25 UTC
Re: [Puppet Users] Making edits to /etc/system on Solaris
I may not go down that path, but you''ve triggered something in my head - why don''t I use concat file? http://www.devco.net/archives/2010/03/12/puppet_concat_20100312.php If there isn''t anything more elegant, I''ll use concat Thanks for the different viewing angle :-) John On 14 September 2010 15:03, Brian Gallew <geek@gallew.org> wrote:> I''ve basically ended up with one /etc/system to rule them all (and in the > darkness bind them?). Fortunately for me, my systems are large enough to > support this and there have been no conflicting requirements. I''m sure I''m > losing some tiny bit of performance and memory, but I really can''t work up > enough concern to do anything about it. > > On Mon, Sep 13, 2010 at 5:29 PM, John Warburton <jwarburton@gmail.com>wrote: > >> Hi All >> >> Just wondering what everyone else does when editing /etc/system on Solaris >> >> It is on the Augeas To Do list (http://augeas.net/page/Augeas_on_Solaris) >> - has anyone tried a lens for it? I tried to start but the file format is >> almost free form and there would always be an exception causing the parse to >> fail >> >> So, apart from >> http://projects.puppetlabs.com/projects/1/wiki/Simple_Text_Patterns, I >> don''t see any other solution >> >> Thanks >> >> John >> >> -- >> 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+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- > 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+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- John Warburton Ph: 0417 299 600 Email: jwarburton@gmail.com -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Derek Yarnell
2010-Sep-14 13:25 UTC
Re: [Puppet Users] Making edits to /etc/system on Solaris
Alternatively you could just use a template /etc/system where you put most of the logic into the ERB by putting if defined entries in. -- Derek Yarnell On Sep 14, 2010, at 1:25 AM, John Warburton <jwarburton@gmail.com> wrote:> I may not go down that path, but you''ve triggered something in my head - why don''t I use concat file? http://www.devco.net/archives/2010/03/12/puppet_concat_20100312.php > > If there isn''t anything more elegant, I''ll use concat > > Thanks for the different viewing angle :-) > > John > > On 14 September 2010 15:03, Brian Gallew <geek@gallew.org> wrote: > I''ve basically ended up with one /etc/system to rule them all (and in the darkness bind them?). Fortunately for me, my systems are large enough to support this and there have been no conflicting requirements. I''m sure I''m losing some tiny bit of performance and memory, but I really can''t work up enough concern to do anything about it. > > On Mon, Sep 13, 2010 at 5:29 PM, John Warburton <jwarburton@gmail.com> wrote: > Hi All > > Just wondering what everyone else does when editing /etc/system on Solaris > > It is on the Augeas To Do list (http://augeas.net/page/Augeas_on_Solaris) - has anyone tried a lens for it? I tried to start but the file format is almost free form and there would always be an exception causing the parse to fail > > So, apart from http://projects.puppetlabs.com/projects/1/wiki/Simple_Text_Patterns, I don''t see any other solution > > Thanks > > John > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > > > > -- > John Warburton > Ph: 0417 299 600 > Email: jwarburton@gmail.com > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.