nifests/init.pp:2
>
> So my question is, how do I change things in the 4 files above so that
> this runs properly.
>
> Because of the auto-load stuff mentioned in Module standards, I've also
> tried changing 'include packages::redis" to 'include redis', but th
and run on routers, tablets, phones, etc.
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**
The information in this email is confi
itional software and especially daemons. Sometimes it's easier to
just operate on those devices via SSH channel with available OS tools. It's
just when I do that it usually feels like there's a lot of duplication of
functionality going on.
--
Michael Gliwinski
Henderson Group Inform
template results would be both more expressive than
> the old and, because of its reliance on a general-purpose function,
> more broadly consistent than just with file() and File/source.
+1
Just had the same thoughts :D
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hi
'm having some issues with nss_ldap + nscd (on
CentOS) as well and was actually going to look into nsscache as possible
workaround.
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
P
On Tuesday 02 Nov 2010 12:44:38 Bruce Richardson wrote:
> On Tue, Nov 02, 2010 at 09:35:24AM +0000, Michael Gliwinski wrote:
> > On Tuesday 02 Nov 2010 01:53:34 Bruce Richardson wrote:
> > > nsscache is probably at fault. Try removing it from nsswitch on
> > > a m
file('foo', 'bar')
template('foo.erb', 'bar.erb')
concatenation:
concat(file('foo'), file('bar'))
concat(template('foo.erb'), template('bar.erb'))
that way you can even mix them ;)
conca
erhaps I didn't express myself well, but my main impetus was to make
> the source/file/template data specifications all support the
> find-first-existing and concatenation functionality in a sane and
> consistent manner.
Well, I suppose separating both concatenation and find-first-exi
g the
resource for 'defined()' function call and yet it would work when referencing
the resource in e.g. 'require' property of another resource?
Any ideas?
Thanks,
Michael
--
Michael Gl
d, e.g. by specifying one of 'onlyif', 'unless', 'creates', etc.
metaparams. Have a look at type reference here:
http://reductivelabs.com/trac/puppet/wiki/TypeReference
>
> Sameer
>
>
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown
t;
> This gives us the functionality that we need, but it also creates a
> whole bunch of notices and a flurry of unnecessary activity every time
> Puppet runs. Anyone have any ideas on who to create and manage users
> without forcing them to have a shadow entry at all?
>
> Mark
>
--
> > config /my/puppet.conf.
>
> No it's not a big deal and I have done just that.
>
> I just wanted to report it in case somebody else runs into it.
>
Indeed it's not a problem but more like a surprising behaviour. I've run into
that myself a while back.
--
Micha
in Puppet I agree that it
would be useful to have something more.
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**
The
u have your resources (here users)
defined in a class, e.g.
class all_users {
@user {"joe":
ensure => present,
...
groups => $servertype ? {
we
n only with adjusted filter to include the file I need to
change).
That is unless you have a not-yet-supported config file type or a really hard
to handle one.
Suppose augeas could be a bit more flexible with regards to the file filters,
or at least allowing to modify it on runtime :)
--
Michael
On Friday 02 October 2009 13:41:44 Michael Gliwinski wrote:
> On Friday 02 October 2009 07:35:57 Erling wrote:
> > On 28 Sep, 19:44, Eric Gerlach wrote:
> > > You might be able to do something like:
> > >
> > > realize User[kenneth]
> > &g
ase for a
> provider (exec or package) within puppet to meet this need?
Two questions here. By using filebucket do you mean the internal puppet
fileserver (with 'puppet://' URLs)?
Also, a provider could be a good idea, but do you think it could be generic
enough to support 3rd
ers on the server and applied on the
client. So if how a resource is applied depends on current environment of
the client it makes sense to have a custom resource type for this resource
which would then be able to make decisions when applying itself.
--
Michael Gliwinski
Henderson Group Infor
/bar': require => Foo['bar'] }
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**
The information in this email is confide
Hi,
On Thursday 17 December 2009 16:15:17 Al @ Lab42 wrote:
> Hallo *,
> at the Puppet Camp there has been some discussion about modules
> standards and naming conventions.
> I might have missed some relevant bits in the last months of personal
> absence from the list so I'm not sure if this topic
On Thursday 17 December 2009 18:58:50 Al @ Lab42 wrote:
> > > 7- PROPOSAL for general class configuration define (based on augeas or
> > > other inline modificators)
> > > define ssh::config ($value) {
> > >
> > > # Augeas version.
> > > augeas {
> > > "sshd_config_$name":
> > >
}
> }
>
> But on testing it fails to find the classes files1 or files2
Because you're not including them anywhere. 'require' is only used to specify
ordering, i.e. here that resources in class 'files1' and 'files2' are applied
before Service['
one figured out a way to make
> this work?
I use a workaround with an always existing empty file, like:
source => [
"puppet:///path/file.$hostname",
"puppet:///shared/dummy_empty_file_for_workaround"
]
where that dummy_empty_file_for_workaround always exis
I gathered
that it is a valid syntax. Is it something new (i.e. newer than 0.24.8)?
Should ssh::auth work on 0.24.8?
BTW, I gather the above should be equivalent to:
if $ensure { Ssh_auth_key_client[$title] { ensure => $ensure } }
yes?
Thanks,
Michael
--
Michael Gliwinski
Henderson Grou
one I
suggested above worked.
The bigger issue was the =~ operator introduced in 0.25. I did manage to
replace it with regsubst but it's ugly (usually one line in 0.25 translates to
~4 in 0.24.8 using regsubst). I can attach the file
g puppet to also manage configuration on some
embedded systems (routers, NAS, heck even tablets like maemo-based), that went
quickly out the door once I realised how well performing ruby is. Still I
think it would be a valid use case.
Regards,
Michael
--
Michael Gliwinski
Henderson G
e on puppet-users [1] which implies this isn't possible.
Does that work in 0.25.x ?
[1] http://groups.google.com/group/puppet-
users/browse_thread/thread/4836b517cd7b5010
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**
an just look at some of the largest free software
communities like KDE, which is primarily written in C++ which doesn't seem to
be in any way diminishing the number of contributors.
--
Michael Gliwinski
Henderson Group
sible.
> >
> > Does that work in 0.25.x ?
>
> I'll have to spend a little time looking into this. The whole purpose of
> the way I set up the defines and virtual resources was to be able to
> override parameters. The last time I tried it, it worked. I
apache":
> uid => 48,
> gid => 48,
> groups => "apache",
> }
>
> Then in your nagios module:
>
> Realize(User["apache"])
> User["apache"] { groups +> "nagios" }
>
> Don't forget to realize it
rt of RHELs plumbing depends) so I just have to suck it up
and deal with 2.4 :D
I wish RedHat/Fedora/EPEL, etc. dealt with python the same way as Debian does
so you could have multiple versions installed alongside, but never really had
a chance to take a look at how it's done.
Regards,
Mi
t;
> TIA
>
> Drew
>
I'm not sure why that doesn't work but I remember some problems I had with
psql in postgres setup, I think I eventually started changing the output
format to somethi
On Wednesday 24 Feb 2010 15:56:17 James Turnbull wrote:
> On 24/02/10 3:00 AM, Michael Gliwinski wrote:
> > I see your point, but this is perhaps specific to the domain of
> > configuration management systems? I mean just look at some of the
> > largest free software commun
o log in using different method than SSH
key auth.
Don't know, I had no brilliant ideas regarding this yet ;) As it would seem
for it to work first time the sshd on a host would need to check/pull user's
key from the keymaster.
>
> Andrew.
>
Note that as I also mention
. And the '-t' option makes it print tuples only (without
headers and footer). That should produce exactly one line if the user already
exists or none otherwise, the grep is mostly used to get that return value
right.
If that doesn't work for you, ma
medir does not exist"],
> }
>
> --apb (Alan Barrett)
>
That's what I'm doing now. Generally it is sufficient to declare a file
resource
for ${home}/.ssh and depend on it. It will fail if ${home} doesn't ex
; > mode=> 0600,
> > source=> "puppet:///sshd/authorized_keys/dtrainor",
> > require=> Class["sshd::config"]
> > }
, yeah, that's the thing, it isn't really functionally different, I'm not
sure why what you had before didn't work. Might be something psql specific.
Anyway, glad I could help.
All the best,
Michael
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Av
d that's what I'm using if
possible, however there are certain cases where I'm declaring resources in a
define. So far I found no way to override parameters of such resources, is
there any?
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown
e => directory;
> > }
> > }
>
> this should work.
>
Not in 0.24.x which IIRC is the one Douglas is using. Not 100% sure but this
should:
if defined(File[...]) != true {
...
}
or if not then:
if defined(File[...]) {
notice('using already defined f
e kinds of things
have always caused enough issues to drive me crazy, but definitely possible.
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**
he class is indeed
evaluated only once (and therefore variables are bound only once IIUC), even
though it is included from a define which may be declared (i.e. 'called'?)
multiple times.
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hight
that run on the same host. Thus, depending on the value of $site
> variable, the $log_path variable will be different.
>
> If I put that in a class, it will be evaluated for the first value of $site
> called, right? or am I missing something?
>
> I hope, that
43 matches
Mail list logo