Re: [Puppet Users] Re: razor hang

2012-11-18 Thread Markus Falb
On 11.10.2012 18:02, Daniel Pittman wrote: > On Thursday, October 11, 2012 5:34:47 AM UTC-7, Markus Falb wrote: >> I tried a virtualbox guest instead on my laptop with similar experience. >> It downloaded the kernel but hangs at the initrd. > Hrm. That seems to point fairl

Re: [Puppet Users] Re: razor hang

2012-10-11 Thread Markus Falb
On 9.10.2012 18:39, Daniel Pittman wrote: > On Monday, October 8, 2012 9:30:37 AM UTC-7, Markus Falb wrote: > >> >> I was playing with razor today. But I am not going far. >> >> ipxe is downloading the microkernel but stays at 98% >> On the server side I see

[Puppet Users] razor hang

2012-10-08 Thread Markus Falb
crokernel, I configured dhcp and tftp. The only razor thing I did was an razor image add -t mk -p ... Not sure what to do next. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] add an rpm to a host

2012-06-23 Thread Markus Falb
emoving old files. Maybe a better place would be /var/tmp or puppets $vardir/whatever Something like refreshonly would be handy in this case, but this exec only, I believe. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Windows architecture fact

2012-06-05 Thread Markus Falb
6_64'? I don't use puppet on windows user (yet), but I would expect that fact values were consistent across operatingsystems. On a 64 bit amd cpu with linux I get $ facter hardwaremodel architecture architecture => x86_64 hardwaremodel => x86_64 -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] RSpec test to verify variable/parameter declaration

2012-06-04 Thread Markus Falb
other host? Is there any way to test that? -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

[Puppet Users] rspec spec_helper

2012-06-03 Thread Markus Falb
://github.com/puppetlabs/puppetlabs-module_spec_helper But I am at a lost how to use it. Is it supposed to provide a centralized spec_helper? How to use it? -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Re: rspec first steps troubles

2012-05-25 Thread Markus Falb
or environment production: No file(s) found for import of '/Users/mafalb/.puppet/manifests/site.pp' but i am getting closer. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

[Puppet Users] rspec first steps troubles

2012-05-25 Thread Markus Falb
ovided by rspec-puppet ? $ gem list|grep rspec rspec (2.10.0) rspec-core (2.10.1) rspec-expectations (2.10.0) rspec-mocks (2.10.1) rspec-puppet (0.1.3) This is on OS-X -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

[Puppet Users] Custom type, autoinclude

2012-05-20 Thread Markus Falb
. I think it is some kind of autoinclude that I am after. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread Markus Falb
On 14.5.2012 19:48, jcbollinger wrote: > > On May 14, 12:07 pm, Markus Falb wrote: > >> and now >> I am thinking about setting a default >> >> Service { >> hasstatus => true >> >> } >> >> so I do not have to specify it for eve

Re: [Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread Markus Falb
On 14.5.2012 14:53, jcbollinger wrote: > On May 12, 11:09 am, Markus Falb wrote: >> I have a class irqbalance with a service defined and it does not work as >> expected and thats why I am asking for advice. >> >> service { 'irqbalance': >>

[Puppet Users] service, --tags, hasstatus

2012-05-12 Thread Markus Falb
#x27;irqbalance'], } $ puppetd --test --tags irqbalance *does* start the service (expected) -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Re: Hiera Puppet backend - search order question

2012-04-13 Thread Markus Falb
fines would get the value intended for the foo class if $calling_class is used in hiera.conf or if foo::data exists. That would mean that I cannot use hiera for defines. But how am I supposed to get at my data then? -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] local vs global variables

2012-04-02 Thread Markus Falb
27;all') Does hiera really look up in data::group_all ? If you enable debug for puppetmasterd it should print out the files and classes hiera looks at. $ puppetmasterd --no-daemonize --debug -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Re: How to handle multiple definitions of the same package in multiple included modules?

2012-03-19 Thread Markus Falb
erence? What advantages one gains? What does need more resources, performance-wise? -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Different versions for server and agents

2012-03-16 Thread Markus Falb
things are working with a 2.7.x master and 2.6.14 agents, would things working with with 2.6.14 master (agents unchanged)? -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] The Trifecta: correct?

2012-03-16 Thread Markus Falb
'. ...snip References to one or more objects that depend on this object. This parameter is the opposite of subscribe — it creates a dependency relationship like before, and also causes the dependent object(s) to be refreshed when this object is changed snap... but i remember vaguely that magic did not work for me not so long ago. hmm. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] hiera on puppet 2.6.12

2012-03-14 Thread Markus Falb
nction hiera at /data/puppe/manifests/ > site.pp:27" > > Is there a step that I'm missing? Yes. Copy the puppet function to puppets libdir. It is mentioned in the README https://github.com/puppetlabs/hiera-puppet -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] CentOS upgrade with puppet?

2012-03-12 Thread Markus Falb
count all the packages and put them in manifests like: >> >> package: ensure=>latest, >> >> >> I am evaluating puppet, and currently I have problem with upgrading from >> CentOS 5.x->5.x+1. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Re: Puppet Master VMs

2012-03-01 Thread Markus Falb
eep for a pseudo-random (but consistent) amount of time before # a run. # splay = false ... -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Private key troubles after a new install and a reboot

2012-02-29 Thread Markus Falb
e new installed client created a key and csr in %post as expected but the master already had a certificate for that machine. Before you reinstall you have to clean the existing cert on the master. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Multiple runs needed to update configs?

2012-02-25 Thread Markus Falb
as manifests or templates) has changed on disk. # The default value is '15'. # filetimeout = 15 ... -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Puppet on RedHat - Manage Kernel Modules ?

2012-02-25 Thread Markus Falb
stuff into the new kernel. Because RHEL tries to preserve the Kernel ABI it should be possible to build modules kernel version agnostic. http://wiki.centos.org/HowTos/BuildingKernelModules?highlight=%28kmod%29 http://wiki.centos.org/HowTos/Custom_Kernel -- Kind Regards, Markus Falb signatu

Re: [Puppet Users] hiera for defines?

2012-02-24 Thread Markus Falb
On 23.2.2012 15:52, Nigel Kersten wrote: > > > On Thu, Feb 23, 2012 at 5:21 AM, Markus Falb <mailto:markus.f...@fasel.at>> wrote: > > > And Question 3, finally: Does it make sense to you what I am trying to > do, actually? > > > It feels signif

[Puppet Users] hiera for defines?

2012-02-23 Thread Markus Falb
Hi, I thinking about how I could use hiera and I cant work it out, so I would like to ask for some enlightenment. class a {... $x = hiera('x') ...} define a::b ( $x = hiera('x') {...} define a::c ( $x = hiera('x') {...} include a a::b { "b": } a::c { "c": } so I thought about a directory structu

[Puppet Users] hiera-puppet in template

2012-01-10 Thread Markus Falb
sed in a template and how? -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] apache vhosts include files

2011-06-23 Thread Markus Falb
nt, life is more difficult. > > As an alternative, some folks use one of the various 'concat' file > modules, like the one by R.I.Pienaar, or the providerised version > recently posted to the dev list, that allows you to construct the > final file on the client. As another alternative, one could handle the include at apache level. Make the location_file_inc a separate file and include it from your vhost config. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Problem in wordpress moodule.

2011-06-18 Thread Markus Falb
> defined class). > So I need to get the $title in there so puppet doesn't think it is > a duplicate definition. You can separate the title from the actual command exec { "uniqe title maybe with $title in it": command => "wget...", ... } -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Concat Module posted to Onyx Point Github.

2011-06-12 Thread Markus Falb
e. > > Improvements welcome! I also tried with 0.25.5 and noticed that your module does not work. All autorequire stuff does not work. It seems like things like if catalog.resources.find_all { ... }.empty? is always true. I have no clue why. 2.6.8 (both master and client) is

Re: [Puppet Users] Concat Module posted to Onyx Point Github.

2011-06-12 Thread Markus Falb
time. > > Improvements welcome! I noticed that even with file_delimiter => '', All fragments had an trailing newline. Here is a simple patch which fixes this. With this you can do a single line out of multiple fragments. https://github.com/mafalb/pupmod-concat/tree/t_empty_fi

Re: [Puppet Users] How can I test if source file exists?

2011-06-10 Thread Markus Falb
ify multiple file sources for a file, then the first source that exists will be used. file { "/home/${username}/.bashrc": ensure => present, source => [ "puppet://modules/users/${username}.bashrc", "puppet://modules/users/default.bashrc", ], } > > normal_user { "joe": > fullname => "Joe Hillenbrand", > groups => ["admin"] > } > -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] extlookup error

2011-06-08 Thread Markus Falb
the suggested fix but it did not work out. >> >> Does extlookup work for you ? >> Do you know what is wrong or how to find out what is wrong ? >> >> -- >> Kind Regards, Markus Falb >> >> > -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

[Puppet Users] extlookup error

2011-06-08 Thread Markus Falb
XX I removed the old custom extlookup function from my modules I found an open ticket at http://projects.puppetlabs.com/issues/4275 I tried the suggested fix but it did not work out. Does extlookup work for you ? Do you know what is wrong or how to find out what is wrong ? -- Kind Regards, Markus

Re: [Puppet Users] Re: How to check if a package exists

2011-05-01 Thread Markus Falb
vided by the foo-devel package. Why do you need foo.so ? -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Re: is there a definition of the abstract service type

2011-04-20 Thread Markus Falb
ysctls or starting firewalls are coming to me mind. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature

[Puppet Users] specific rails version ?

2011-01-07 Thread Markus Falb
hi, I run puppet 0.25.5 Because of "puppet warnings about metaclass deprecation" i use rails not newer than 2.3.5 see https://bugzilla.redhat.com/show_bug.cgi?id=616519 and http://projects.puppetlabs.com/issues/4668 for that. I use passenger as described in http://projects.puppetlabs.com/project

Re: [Puppet Users] DEPRECATION WARNING

2010-11-21 Thread Markus Falb
; > cat /etc/redhat-release > CentOS release 5.5 (Final) Downgrade rails to 2.3.5 https://bugzilla.redhat.com/show_bug.cgi?id=616519 -- Best Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Default ownership for static files

2010-11-11 Thread Markus Falb
On 11.11.10 10:44, Markus Falb wrote: > On 10.11.10 22:02, Douglas Garstang wrote: > >> When no owner or group is specified for the file, the default owner and >> group on the target system seems to default to the same as the owner and >> group on the puppetmaster, if

Re: [Puppet Users] Default ownership for static files

2010-11-11 Thread Markus Falb
s under /etc/puppet are owned by the puppet user, and if I > don't specify a use/group on a file, they end up being owned by puppet > on the target. Yes, but only if the user puppet has the same uid/gid on both puppetmaster and target and thats not a safe assumption. -- Best Regards, Marku

Re: [Puppet Users] Default ownership for static files

2010-11-09 Thread Markus Falb
On 08.11.10 20:01, Patrick wrote: > > On Nov 8, 2010, at 9:36 AM, Markus Falb wrote: > ... >> I try in other words: A file on puppetmaster belongs to user x with uid >> y and it is created on the client with uid y whatever user this >> translates to. Is this intended ?

Re: [Puppet Users] Default ownership for static files

2010-11-08 Thread Markus Falb
On 08.11.10 17:03, R.I.Pienaar wrote: > > - "Markus Falb" wrote: > >> Hi, >> >> I try to serve a file >> >> file { "/root/test3.txt": >> ensure => file, >> source => "puppet:///yum/test.txt&

[Puppet Users] Default ownership for static files

2010-11-08 Thread Markus Falb
lly this is what I also expected for test3.txt. -- Best Regards, Markus Falb signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] selboolean with selinux disabled

2010-07-02 Thread Markus Falb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/07/2010 05:20, Patrick Mohr wrote: > > On Jul 1, 2010, at 6:31 PM, Markus Falb wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi, >> >> err: //cobbler::web/Selboolean[http

[Puppet Users] selboolean with selinux disabled

2010-07-01 Thread Markus Falb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, err: //cobbler::web/Selboolean[httpd_can_network_connect]: Failed to retrieve current state of resource: Execution of '/usr/sbin/getsebool httpd_can_network_connect' returned 1: /usr/sbin/getsebool: SELinux is disabled Is this behaviour intenti

[Puppet Users] appdmg and pkgdmg source

2010-06-13 Thread Markus Falb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I tried something like this package { "tunnelblick": ensure => present, source => "puppet:///vpn/Tunnelblick_3.0.dmg", provider => appdmg, } err: //vpn::openvpn/Package[tunnelblick]/ensure: change from absent to present fa

Re: [Puppet Users] How do I use a desktop client as puppet master?

2010-01-27 Thread Markus Falb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/01/2010 13:06, Mr Gabriel wrote: > Fully Qualified Domain Name seems to be a requirement for puppet master > server. I was expecting to run into issues say around 2/3 of the way > through, not at step one! > > So I guess my question is, is it po