Re: [Puppet Users] Making edits to /etc/system on Solaris

2010-09-14 Thread Derek Yarnell
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  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  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  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-us...@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.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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.
> 
> 
> 
> -- 
> John Warburton
> Ph: 0417 299 600
> Email: jwarbur...@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-us...@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.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.



Re: [Puppet Users] Making edits to /etc/system on Solaris

2010-09-13 Thread John Warburton
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  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 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-us...@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.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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.
>



-- 
John Warburton
Ph: 0417 299 600
Email: jwarbur...@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-us...@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.



Re: [Puppet Users] Making edits to /etc/system on Solaris

2010-09-13 Thread Brian Gallew
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 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-us...@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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.



[Puppet Users] Making edits to /etc/system on Solaris

2010-09-13 Thread John Warburton
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-us...@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.