Hi,
I need to do some reporting on the client (installed packages,
patchlevel, ... you get the idea) I'd like to use some custome facts
for this. According the documentation, the clients facter values
should be stored on the puppetmaster as yaml files:
http://reductivelabs.com/trac/puppet/wiki/A
tory, maybe a simple find under
> puppetdir for all yaml files?
>
> On Tue, Jul 7, 2009 at 8:11 PM, robert.gstoehl
> wrote:
>
>
>
> > Hi,
>
> > I need to do some reporting on the client (installed packages,
> > patchlevel, ... you get the idea) I'
ple find under
> puppetdir for all yaml files?
>
> On Tue, Jul 7, 2009 at 8:11 PM, robert.gstoehl
> wrote:
>
>
>
> > Hi,
>
> > I need to do some reporting on the client (installed packages,
> > patchlevel, ... you get the idea) I'd like to use some custo
I'll take another shot at it as soon we have upgraded to a more recent
version. Thanks Ohad Levy.
On Jul 7, 3:28 pm, "robert.gstoehl" wrote:
> Two yaml files outside the var/puppet/reports/* dir:
> /var/puppet/state/localconfig.yaml
> /var/puppet/state/state.yaml
>
&
I'm trying to get the dependencies right:
define wget($source, $options = "", $unless = "") {
include pkg::virtual_packages
realize (Package["wget"])
exec {"wget $options -O $title $source":
path=> "/usr/bin:/opt/csw/bin",
unless => "$unless",
timeout => 1
merge
arrays?
On Jul 13, 7:12 pm, David Schmitt wrote:
> robert.gstoehl wrote:
> > I'm trying to get the dependencies right:
>
> > define wget($source, $options = "", $unless = "") {
> > include pkg::virtual_packages
> > real
Hm, with --debug it seems like all the dependencies, even an array of
them, get passed to the nested exec. Voodoo :)
Thanks for your help.
On Jul 15, 9:55 am, "robert.gstoehl" wrote:
> Seems to work so far, thanks. What happens when a $require is passed
> to the definition w
I'm still on 0.23.2 for some time. Planning the upgrade at the moment.
On Jul 15, 10:09 am, David Schmitt wrote:
> robert.gstoehl wrote:
> > Seems to work so far, thanks. What happens when a $require is passed
> > to the definition which contains an array?
>
> &g
A stock Solaris 10 syslog logs to /var/adm/messages.
Cheers Robert
On Nov 8, 3:01 pm, Erlend Leganger wrote:
> I set up puppet for the first time yesterday, on two Solaris 10
> machines, each running puppet v0.24.7. I made a modified version of
> the initial manifest described
> inhttp://reduc
Hey there,
I'd like to migrate some of our solaris hardening mechanisms from sst
(jass) to puppet. One part of the work involves disabling services in
a secure base class while letting the administrator override specific
services through sepcialized classes (kind of a secure - by default -
mechani
Can one include muliple parts of a (class) - inheritance chain? And if
yes, how does this chain get traversed? Are there any limitations /
sideffects / documentation?
The idea behind is: I'd like to provide a base set of disabled
services. Each of this service can be enabled through inheriting fr
Hey John,
Thanks for the clarification. Makes kind of sense ;)
Cheers Robert
On Feb 17, 3:50 pm, jcbollinger wrote:
> On Feb 17, 2:56 am, "robert.gstoehl" wrote:
>
> > Can one include muliple parts of a (class) - inheritance chain? And if
> > yes, how does this ch
Hey there,
I'd like to provide a definition with an argument which is optional
and defaults to the title:
net::route_default{"first": gateway => "192.168.0.1"}
or the shortcut:
net::route_default{"192.168.0.1"}
class net {
define route_default($gateway=$title) {
exec {"echo $gateway >> /e
makes sense, thanks
Robert
On Mar 8, 4:19 pm, Thomas Bellman wrote:
> robert.gstoehl wrote:
> > I'd like to provide a definition with an argument which is optional
> > and defaults to the title:
>
> > net::route_default{"first": gateway => &
Hey there,
I'm thinking about reusing custom types from existing puppet infrastructure in
standalone (ruby)
applications.
Example -> Custom Type for a "storage pool" consisting of volume groups,
logical volumes, drbd resources, filesystems, nfs export... you get the idea.
Suppose that we have
>
>
>
> I don't know how you can use defined types from pure ruby there might be
> a way but for native ones you can use them:
>
> pkg = Puppet::Type.type(:package).new(:name => "bash").provider
> pkg.update
>
> updates bash.
>
Fiddled with something like that - it even worked with a cus
16 matches
Mail list logo