[Puppet Users] Puppet in Novell Zenworks ZCM 11

2013-03-28 Thread stewart
Hello..

I'm in charge of setting up a ZCM server to replace an older ZLM instance. One 
of the reasons given for sticking with Novell and the new version is that 
puppet is used as the linux engine for applying policies. Unfortunately when 
that decision was made it wasn't realised that the version of puppet supplied 
with ZCM is 0.28.. and therefore it's missing a lot of the functionality we 
kind of expected we'd have. (file_line being the really useful omission) 

Is there anyone on this list who happens to have some experience with the way 
Novell has crippl... I mean customised the puppet setup in ZCM? Out of the box 
the puppet binary doesn't even work from the command line, although I've 
managed to get that going with a few symlinks for the ruby libraries into 
/usr/lib, there's a heap of differences to standard puppet (the ZCM processes 
do all the work of puppet master, so there's none of that) and I'm new to 
puppet as it is, so it's turning out to be a hard slog. Novell's documentation 
on the matter doesn't help, it basically says see puppetlabs.com for more 
information

I won't bore the list with kind of OT questions about Zenworks, but would love 
to hear from anyone else that might have already solved some of the problems 
we're having.

many thanks,
..S.

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: Managing sensitive strings with puppet

2011-12-28 Thread Ryan Stewart
On Dec 27, 5:00 pm, Ryan Stewart zzant...@gmail.com wrote:
 Before jumping into hiera, I was trying to get a feel for extlookup()
 with CSV files because it looked pretty simple, but I can't seem to
 make it work.

nm. I figured out what I was doing wrong.

-- 
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.



[Puppet Users] Re: Managing sensitive strings with puppet

2011-12-28 Thread Ryan Stewart
On Dec 28, 11:33 am, Nigel Kersten ni...@puppetlabs.com wrote:
 On Wed, Dec 28, 2011 at 9:06 AM, Ryan Stewart zzant...@gmail.com wrote:
  On Dec 27, 5:00 pm, Ryan Stewart zzant...@gmail.com wrote:
   Before jumping into hiera, I was trying to get a feel for extlookup()
   with CSV files because it looked pretty simple, but I can't seem to
   make it work.

  nm. I figured out what I was doing wrong.

 What was it Ryan? Is there something we could do to improve the docs here?

I believe the problem was that I was doing the extlookup() outside of
any class, and I recently converted my puppet project to a module,
which I'm running with puppet apply -e 'include ...', which, I
assume, would only run things inside of classes and not other stuff in
the manifests where the classes are. Therefore the lookup was never
being done in the first place, explaining the complete lack of any
debugging information. I'm still trying to feel my way around how
things should be organized, and this had to roll around in my head a
while before I made the connection.

-- 
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.



[Puppet Users] Re: Managing sensitive strings with puppet

2011-12-27 Thread Ryan Stewart
On Dec 23, 11:33 am, Nigel Kersten ni...@puppetlabs.com wrote:
 On Thu, Dec 22, 2011 at 12:00 PM, Ryan Stewart zzant...@gmail.com wrote:
  I'm new to Puppet, and I'm a software developer, not a sysadmin, so be
  gentle. I have puppet managing some files via templates, and one of
  the template variables that needs to be plugged in is a password of
  sorts that shouldn't be generally available. In particular, it can't
  be stored in the manifest, as that's stored in version control, and
  the password shouldn't be available there. Basically, the only place
  it's okay for this password to be stored is on the systems that will
  be using it.

  What would be the Puppet way of getting this string into the
  configuration?

 http://www.craigdunn.org/2011/10/secret-variables-in-puppet-with-hier...

 Does that help?

 I've done this in the past without hiera, where you have a function that
 runs on the master to decrypt the content out of version control, but the
 above makes it pretty simple.

That helps a lot, though I had no idea what hiera was before you said
it. Thanks for pointing me in the right direction.

-- 
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.



[Puppet Users] Re: Managing sensitive strings with puppet

2011-12-27 Thread Ryan Stewart
On Dec 23, 11:33 am, Nigel Kersten ni...@puppetlabs.com wrote:
 http://www.craigdunn.org/2011/10/secret-variables-in-puppet-with-hier...

 Does that help?

 I've done this in the past without hiera, where you have a function that
 runs on the master to decrypt the content out of version control, but the
 above makes it pretty simple.

Before jumping into hiera, I was trying to get a feel for extlookup()
with CSV files because it looked pretty simple, but I can't seem to
make it work. I see two different version of how to configure
extlookup(), so I've tried both this (in my manifest):

$extlookup_datadir = /etc/puppet/extdata
$extlookup_precedence = [common]

and this (in /etc/puppet/extlookup.yaml):

---
:parser: CSV
:precedence:
- common
:csv:
  :datadir: /etc/puppet/extdata

The file /etc/puppet/extdata/common.csv contains a single line:
some_var,some_value. But whatever I try, the following fails:
$some_var = extlookup(some_var)
if $some_var == undef {
fail(Didn't find var with extlookup)
}

With --debug --verbose, I don't get any kind of output related to
the lookup. Can someone guide me here? I think I'm missing something
very obvious.

-- 
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.



[Puppet Users] Managing sensitive strings with puppet

2011-12-23 Thread Ryan Stewart
I'm new to Puppet, and I'm a software developer, not a sysadmin, so be
gentle. I have puppet managing some files via templates, and one of
the template variables that needs to be plugged in is a password of
sorts that shouldn't be generally available. In particular, it can't
be stored in the manifest, as that's stored in version control, and
the password shouldn't be available there. Basically, the only place
it's okay for this password to be stored is on the systems that will
be using it.

What would be the Puppet way of getting this string into the
configuration?

-- 
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.