I have now something like this in one of my modules:
require 'facter'
Facter.add(temp_dir) { setcode { Dir::tmpdir } }
Why I was asking about a standard fact: I wanted to contribute to some
external module and I needed to download a file on Windows.machines.
And I realized there is now standard
It seems that you should be using the switch /Featurename OR
/Apply-Unattend NOT both, yet the puppet example is
dism { 'IIS-WebServer':
ensure = present,
answer = 'C:\answer\iis.xml',
}
https://forge.puppetlabs.com/puppetlabs/dism
I can see how to use this puppet module with the
On Wednesday, April 30, 2014 11:21:47 PM UTC+2, kbrede wrote:
But when using the augeas type with the following:
changes = 'set \$database_password \test\',
The file entry looks like:
$database_password = \test\;
Try this (pay attention to what is a single quote and what is a double!):
Hi everybody,
i have to install keystone package on puppet client :
i have some module in puppet master
/etc/puppet/modules/keystone/manifests/init.pp
and when i include it in client ,getting an class not found.
any help is accepted.
Thank you.
When deploying openvz images, we use a init-script to delete puppets ssl
directory and then run a curl that deletes the certificate from the puppet
server:
curl -k -X DELETE -H Accept: pson
https://puppet.example.com:8140/production/certificate_status/client.examle.com;.
After upgrading to
On 05/06/2014 12:29 AM, Brian Mathis wrote:
The problem is that your variable names are being returned from the
$(cat...) after bash has already evaluated the environment, so it's
taking it as a literal string and trying to execute the command.
To get bash to interpret it as a variable, use
Hi,
at the moment there is only one factor version available on rubygems.org:
facter - 2.0.1
Is there a reason why older facter versions have disappeared?
Older puppet versions are still on ruby gems.org.. but they are useless due to
missing dependencies.
- Martin
--
You received this
Sorry. My mistake.
Everything is working fine.
I just did not check properly my logs.
Am Dienstag, 6. Mai 2014 14:18:47 UTC+2 schrieb Martin Alfke:
Hi,
at the moment there is only one factor version available on rubygems.org:
facter - 2.0.1
Is there a reason why older facter
This applies to facter version 1.7 and above. See docs:
http://docs.puppetlabs.com/guides/custom_facts.html#external-facts
You can create a file like this (the name does not matter):
/etc/facter/facts.d/myfacts.txt:
hostname=value
Then when you run 'facter hostname', value will be
Hi Guys,
I am currently looking for a a Senior Systems Administrator with very
strong Puppet knowledge and skills to provide a full Proof of Concept and
roll-out of Linux Desktop (Ubuntu) to a Contact Centre located in Melbourne
and the Philippines. Initially this is for a 3-6 month contract
On Tuesday, May 6, 2014 5:44:39 AM UTC-5, devaki prabhu wrote:
Hi everybody,
i have to install keystone package on puppet client :
i have some module in puppet master
/etc/puppet/modules/keystone/manifests/init.pp
and when i include it in client ,getting an class not found.
any help is
I didn't get the answer file working but this works instead
class windowsfeaturedesktop::iis {
dism { 'IIS-WebServerRole':
ensure = present,
}
dism { 'IIS-WebServer':
ensure = present,
require = Dism['IIS-WebServerRole'],
}
dism { 'IIS-CommonHttpFeatures':
On Monday, May 5, 2014 12:44:59 PM UTC-5, Sans wrote:
Thanks John for showing me a way to do it. I haven't tried that yet but
meanwhile, I was also trying the define type but different way. Do you
think this is a better data structure?
rpm_mon_base_pack:
base-pkg1:
rep:
Hi John,
I haven't use create_resources() before, so following the puppetlab docs. After
having the data structure in my default.yaml, I have this in the nodes.pp:
$hr_mon_base_pkgs = hiera_hash('rpm_mon_base_pack', undef)
and then in my utils.pp, I have this:
class monitoring::mon-utils {
That's one combination I hadn't tried but it works!
Thanks,
Kent
On Tue, May 6, 2014 at 4:52 AM, zerozerouno...@gmail.com wrote:
On Wednesday, April 30, 2014 11:21:47 PM UTC+2, kbrede wrote:
But when using the augeas type with the following:
changes = 'set \$database_password \test\',
The
On Monday, May 5, 2014 10:25:50 AM UTC-5, Felix.Frank wrote:
Ah, so you're running the master from an unprivileged user. That makes a
lot of sense now.
Maybe. It is normal to run the *master* as an unprivileged user. The
master does not store anything in its home directory in that
On 05/06/2014 04:56 PM, jcbollinger wrote:
Ah, so you're running the master from an unprivileged user. That
makes a
lot of sense now.
Maybe. It is normal to run the /master/ as an unprivileged user. The
master does not store anything in its home directory in that case,
I got the following lines in Hiera:
# My hash array
somehash::somevalues:
# NODE1 - ukdc1-c1-pscn01 -- 172.19.128.2 - below
FIRSTARTEFACT1:
artefact: FIRSTARTEFACT
order: ??
SECONDARTEFACT:
artefact: SECONDARTEFACT
order: FIRSTARTEFACT1
On Tue, May 6, 2014 at 9:27 AM, Helen Paterson helen.pater...@gmail.comwrote:
I didn't get the answer file working but this works instead
class windowsfeaturedesktop::iis {
dism { 'IIS-WebServerRole':
ensure = present,
}
dism { 'IIS-WebServer':
ensure = present,
Afternoon all,
I'm trying to update my Glassfish module [1] to support some additional
functionality, such as clustering.
I've done most of the code changes, and they all seem to work fine from a
usage POV. However several of my tests [2] are failing with the following
error:
1)
I had some corruption in my puppetdb and had to rebuild my KahaDB
directory. After doing so I restarted everything, but all of the puppet
nodes still show 'unresponsive', even after a successful puppet run. Looks
like things are running smoothely now, only the console isn't updating
Hi Jon,
I'm based in portland but would be happy to come down for the first meeting.
Thanks,
Spencer
On May 1, 2014 8:53 PM, Jon Sawyer badqua...@gmail.com wrote:
I am interested in starting one if one does not yet exist.
I'd like to talk about and collaborate on usage of puppet.
Anyone can
Hi All,
I got this fully working yesterday on CentOS 6.5 and uploaded it to github
today:
https://github.com/ITBlogger/puppet-kvm
It's very crude, doesn't have any parameter validation or testing and
requires hiera as written, but you may find it useful.
At some point it would be interesting
On Tuesday, May 6, 2014 3:36:13 PM UTC+1, jcbollinger wrote:
Using hiera_array() does ensure that the value retrieved is an array, but
it's not at all what you want for this job or for either data structure.
In this case, the returned array will contain one element -- the same hash
Puppet 3.6.0 is a backward-compatible features and fixes release in the Puppet
3 series. The biggest things in this release are:
* Improvements to directory environments, and the deprecation of config
file environments
* Support for purging unmanaged ssh_authorized_key resources
I just had this happen to me today. Turns out that I had pasted some
database settings into the puppet.conf instead of the database.ini while
using *screen* and having too many windows open. Luckily I had some cert
warnings so I ran *puppet cert list --all *and got an error about the
On 04/29/14 18:13, willi.feh...@home24.de wrote:
Hello,
we have an issue that the Puppetmaster logrotate isn't working.
We are using the following default Logrotate:
/var/log/puppet/*log {
missingok
sharedscripts
create 0644 puppet puppet
compress
rotate 4
postrotate
** Final Release **
PuppetDB 2.0.0 final - May 6, 2014.
PuppetDB 2.0.0 Downloads
Available in native package format in the release repositories at:
http://yum.puppetlabs.com and http://apt.puppetlabs.com
For information on how to enable the Puppet Labs repos, see:
If you were unable to test from source previously, there is a 3.6.0-rc1
available now that you can use to test environment slow down issues.
You can obtain it from the pre-release repos as documented here:
Hi Antoine,
There is a Puppet 3.6.0-rc1 available in the pre-release repos which has
environment cacheing that we think will take care of the slowdown you are
seeing with directory environments. Would you be able to test that? (See
Eric's 3.6.0-rc1 announcement for details on obtaining the
On 30/04/14 02:13, willi.feh...@home24.de wrote:
Hello,
we have an issue that the Puppetmaster logrotate isn't working.
We are using the following default Logrotate:
/var/log/puppet/*log {
missingok
sharedscripts
create 0644 puppet puppet
compress
rotate 4
postrotate
On 05/06/2014 02:38 PM, Brian Mathis wrote:
This applies to facter version 1.7 and above. See docs:
http://docs.puppetlabs.com/guides/custom_facts.html#external-facts
You can create a file like this (the name does not matter):
/etc/facter/facts.d/myfacts.txt:
hostname=value
Then
The ploperations Forge user (and associated puppetlabs-operations GitHub
account) have some very useful modules that are kept up-to-date on
GitHub, but haven't been seeing releases to Forge (in more than a year,
actually).
Is this a matter of lack of time or interest by the PL ops team on
On 5/5/2014 7:32 AM, Alex Scoble wrote:
If you are trying to follow Puppet Labs recommended best practices, it's
definitely a moving target.
I find it best not to change my workflow or methodology until it makes
sense on my system regardless of what the community or even Puppet Labs
has
Hi,
On some systems, I use Puppet 3.3.1 for openSUSE 12.2. (We plan to
upgrade, but some external dependencies cause problems.) No newer
Puppet version is available from OBS.
On that systems, signal USR2 doesn't work. The man page tells that
it shall Close file descriptors for log files and
35 matches
Mail list logo