[Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-13 Thread Peter Faller
Even if the puppet-agent package is installed, the location of the puppet executable won't be in the PATH environment variable. What you probably need is to change it to e.g.: /opt/puppetlabs/bin/puppet apply /cdrom/puppet/install.pp On Monday, 12 June 2017 16:23:38 UTC+2, Free4All User wrot

Re: [Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-13 Thread Free4All User
and this will work during kickstart? 2017-06-13 9:26 GMT+02:00 Peter Faller : > > > Even if the puppet-agent package is installed, the location of the puppet > executable won't be in the PATH environment variable. What you probably > need is to change it to e.g.: > > /opt/puppetlabs/bin/puppet a

[Puppet Users] Missing puppet-agent package on Debian Jessie

2017-06-13 Thread Fairouz el ouazi
HI , I installed https://apt.puppetlabs.com/puppetlabs-release-pc1-jessie.deb on an [ Raspbian GNU/Linux 8.0 (jessie) ] and ran `apt-get update` and when I run `apt-get install puppet-agent` (or `puppetmaster`) I get this error: Package puppet-agent is not available, but is referred to by anot

Re: [EXTERNAL] - [Puppet Users] Missing puppet-agent package on Debian Jessie

2017-06-13 Thread Dirk Heinrichs
Am 13.06.2017 um 10:56 schrieb Fairouz el ouazi: > I installed > https://apt.puppetlabs.com/puppetlabs-release-pc1-jessie.deb >

Re: [EXTERNAL] - [Puppet Users] Missing puppet-agent package on Debian Jessie

2017-06-13 Thread Fairouz el ouazi
Hi ; So how much time can take me to build one for Amr ? Le mardi 13 juin 2017 11:00:50 UTC+2, Dirk Heinrichs a écrit : > > Am 13.06.2017 um 10:56 schrieb Fairouz el ouazi: > > I installed https://apt.puppetlabs.com/puppetlabs-release-pc1-jessie.deb >

Re: [Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-13 Thread Free4All User
I have modified and also checked via which puppet where actually puppet is installed /usr/bin/puppet apply /cdrom/puppet/install.pp it still does not work. Also as it is during the installation procedure can the mount point of the automated formated drive but not sure how i could sort this out dur

Re: [Puppet Users] Missing puppet-agent package on Debian Jessie

2017-06-13 Thread Dirk Heinrichs
Am 13.06.2017 um 11:04 schrieb Fairouz el ouazi: [Oh, just noticed that I already misspelled the architecture. It's arm of course, not amr] > So how much time can take me to build one for Amr ? Don't know. Depends on your Raspi's speed. However, I just found out that PuppetLabs doesn't provid

Re: [Puppet Users] Missing puppet-agent package on Debian Jessie

2017-06-13 Thread Fairouz el ouazi
Thank you for your help , but i want to know what is the benefits to have the possibilities to install puppet server on raspberry and not an agent ??? Le mardi 13 juin 2017 11:28:08 UTC+2, Dirk Heinrichs a écrit : > > Am 13.06.2017 um 11:04 schrieb Fairouz el ouazi: > > [Oh, just noticed that I a

Re: [Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-13 Thread Peter Faller
I've only used kickstart for RedHat and CentOS; but I believe it is almost the same for Ubuntu. What I would suggest is that you catch the output of the %post script like this: %post --log=/root/ks-post.log ... %end ... and then include lots of 'echo' commands to debug. By the time %post runs,

[Puppet Users] How to debug why a class is not applied to a node?

2017-06-13 Thread Abel Paz
Hi everyone, I'm faced a really strange issue that I never saw before. I manage a complete infrastructure (~300 nodes, ~100.000 resources) using Puppet and this is the only case I saw behaving this way. 1. I have my own bacula module (class bacula). 2. I have a machine, with "bacula" as its hos

Re: [Puppet Users] How to debug why a class is not applied to a node?

2017-06-13 Thread Henrik Lindberg
On 13/06/17 12:58, Abel Paz wrote: Hi everyone, I'm faced a really strange issue that I never saw before. I manage a complete infrastructure (~300 nodes, ~100.000 resources) using Puppet and this is the only case I saw behaving this way. 1. I have my own bacula module (class bacula). 2. I ha

Re: [Puppet Users] same hiera data across multiple profiles

2017-06-13 Thread Matthew Kennedy
As a general rule you shouldn't have multiple profiles pulling the same data from hiera. Treat profiles like lego blocks that you can compose as needed. In this case create a ssl_certs profile who's role is to pull in hieradata via standard parameters. This profile has the responsibility to get t

[Puppet Users] [ANN] Puppet agent 1.10.2

2017-06-13 Thread Jorie Tappa
Today we released Puppet agent 1.10.2! This is a bug fix release with updates to the Puppet, Facter, Hiera, MCollective, and pxp-agent components. Read the Puppet agent release notes: https://docs.puppet.com/puppet/4.10/release_notes_agent.html#puppet-agent-1102 Read the Puppet 4.10.2 release not