Hi,
I was trying to use Postman REST Client (Chrome App) to run PUT operation
for Puppet Master REST API with following settings:
URL: https://:8140/production/certificate_status/
Under Headers - content-type:text/pson
Under Body: {"desired_state":"signed"}
It results in HTTP 400 with message
In this case, you’ve got 2 issues.
1, most of that data would, ideally, be in Hiera. But, with a defined type,
you can’t use the parameterized classes lookup.
2. That case statement means that the catalog for the system with “client"
doesn’t even know anything about the “access" resources.
Hi,
While I was trying to access Puppet REST API [
https://:8140/production/facts/], getting the below
error.
I am not sure the issue here & could not find any specific log to further
troubleshoot. Any help will be appreciated.
Web application could not be started
exit (SystemExit)
/opt/pu
**Release candidate**
Facter 1.7.4-rc1
--
*Release Candidate*: Facter 1.7.4 is not yet released.
- RC1: December 9, 2013.
1.7.4 is a bug fix release in the 1.7 series.
Facter 1.7.4-rc1 Downloads
--
Source: http
On Monday, December 9, 2013 4:35:35 PM UTC-6, Stuart Cracraft wrote:
>
>
> Anybody know if Puppet has a way to email directly from a manifest in the
> DSL?
>
>
There is no built-in support for sending mail during catalog compilation.
If your master has a working 'mail' command or equivalent,
On Monday, December 9, 2013 4:43:25 PM UTC-6, Stuart Cracraft wrote:
>
> Hi, I'd like to establish and maintain a standard crontab
> using Puppet. What is best practice? I don't want to invent
> too much.
>
>
This is what the built-in Cron resource is for. There are currently a few
caveats:
Assume the following question is in regards to Puppet 3.3.2.
So my question is in relation to audit.
file { '/some/random/path/through/the/tree/to/a/file':
owner => 'luke',
group => 'rebelalliance',
mode => '0444',
audit => all
}
And more specifically: will the named file be force-owne
Hi, I'd like to establish and maintain a standard crontab
using Puppet. What is best practice? I don't want to invent
too much.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, se
Anybody know if Puppet has a way to email directly from a manifest in the
DSL?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googleg
Hello,
I am not exactly sure how to phrase this, but consider the following:
case $::role {
'access': {
notify {"Applying access packages" :}
include access_packages
freebsd::rc_conf { 'test' :
I'm doing some testing with the puppetlabs/haproxy module on a vagrant box
with puppet 3 set up. The module we use requires exported resources to be
enabled in order to specify haproxy backends, but I don't have it
configured in puppet. I have our puppet repo checked out to the VM and am
using
Thanks Ygor. I've played around with create_resources a bit since you
posted this and things are looking promising. I think this is the way to go.
Regards,
Guy
On Friday, 6 December 2013 18:22:10 UTC-8, Ygor wrote:
>
> OK. Now that I have had a chance to look at the torrancew/account module,
>
Jake,
Thanks for the info. My puppet manifest is doing the same thing as bash
script.
Regards
Sachin
On Monday, 9 December 2013 13:29:52 UTC-8, Jake Lundberg wrote:
>
> No, not like that.
>
> You could create your own custom fact and use that via command line. See:
> http://www.practicalclou
No, not like that.
You could create your own custom fact and use that via command line.
See:
http://www.practicalclouds.com/content/guide/converting-user-data-arguments-facts.
It's not a perfect example, but does have some logic for parsing
arguments.
As you're a self proclaimed newbie,
Jake,
I want to do something like this...
# puppet apply --modulepath=/etc/puppet/modules site.pp "somevalue1"
"somevalue2"
is this possible?
Regards
Sachin
On Monday, 9 December 2013 11:48:16 UTC-8, Jake Lundberg wrote:
>
> Oops, that should probably read:
>
> exec { "do something" :
> comm
I tried two of the proposed fixes in github, but neither of them worked. I
came up with the following workaround (kludge) that happens to work because
our proxy caches the authentication for a little while. Maybe it will help
someone out there who is brought here by the magic Google machine:
Oops, that should probably read:
exec { "do something" :
command => "/usr/local/bin/exec_something.sh ${param1} ${param2}"
}
On Monday, December 9, 2013 11:46:17 AM UTC-8, Jake Lundberg wrote:
>
> I suppose it depends on how you structure your manifest. We typically
> apply a manifest to
I suppose it depends on how you structure your manifest. We typically
apply a manifest to a particular node when testing new manifests. So
something like:
site.pp:
node default {
$param1 = "value1"
$param2 = "value2"
include exec_class
}
/etc/puppet/modules/exec_class/manifests/init.
I'm able to get Hiera + GPG working fine, but am running into an issue when
I want to use GPG as the primary backend. We want to do this to make sure
any secrets are realized first. However, it seems when a value in GPG
backend also exists in a YAML backend, hiera dies with a message:
Debug
On Friday, December 6, 2013 4:08:42 AM UTC-6, Dmitry Musatov wrote:
>
> Hi,
>
> I'd like to access read-only parameter package::status in my manifest.
> The only reference about RO-parameters usage I found is some irrelevant
> post in puppet-dev group (
> https://groups.google.com/d/msg/puppet
Hi,
Has anyone successfully performed this scenario?
I'm installing Puppet Enterprise 3.1, and want to have the Console service
running on the Puppet Master. However, I want to have the PuppetDB
service on another server. It seems like the installer either puts all of
the services on one ho
Hi,
Has anyone successfully performed this scenario?
I'm installing Puppet Enterprise 3.1, and want to have the Console service
running on the Puppet Master. However, I want to have the PuppetDB
service on another server. It seems like the installer either puts all of
the services on one ho
When creating a provider that uses a command not in PATH, what is the
best-practice pattern for case'ing out different potential locations? As an
example, the puppetlabs rabbitmq pupmod has a rabbitmqplugins provider that
falls down on CentOS using the rabbitmq upstream package due to
rabbitmq-plug
Sorry, didn't see that had been resolved in another thread.
Don't make so many threads please ;)
On 12/09/2013 05:26 PM, Felix Frank wrote:
> What I'm saying is, you may want to deconfigure puppetdb in your
> puppet.conf.
--
You received this message because you are subscribed to the Google Gro
Hi,
the effect of "root behaves differently than other users" is a sign that
your problem can indeed be found in /etc/puppet/puppet.conf, the config
file that puppet uses when run as root, whereas other users prefer
~/.puppet/puppet.conf.
What I'm saying is, you may want to deconfigure puppetdb i
On 12/05/2013 10:41 PM, Jon Yeargers wrote:
>
> Running 'puppet agent --test' on a 1Ghz ARM based (Debian 6) fanless PC.
> It's pretty common to see the 'catalog run' take 120-300 seconds. Is
> this typical?
That depends on your catalog.
Try --evaltrace to see if there's anything specific that
Hi,
weird - the puppet packages target specific platforms? That doesn't seem
to make much sense, because nothing in puppet is compiled. It's mostly
ruby, and sure enough, the packages from Debian themselves have
Architecture: all
So it doesn't seem sensible that the packages from puppetlabs aren
On 12/05/2013 03:33 PM, Sam Coffland wrote:
> You can use concat fragments to specify the order of stanzas or lines.
Yes, if applicable, this is certainly one of the cleanest approach.
If you are willing to add augeas to your toolchain (I'm not, fwiw), that
could probably solve your problem as w
Hi xav,
very good reply, and I'd like to second the notion that puppet is indeed
an impressive example of open source software, especially wrt. the
quality of its documentation.
On 12/06/2013 10:11 PM, xav wrote:
> I'd be keen to see more examples and helpful tutorials, but that's not
> core prod
Hi, I've just released puppet module containing package resource with
reimplemented ports provider. Several bug-fixes and some new features
(build options, install options, uninstall options). Hope it may be useful
for someone:
http://forge.puppetlabs.com/ptomulik/packagex
Regards!
--
You re
Hi,
I'm using mysql module version 0.6.1 and I wanted to upgrade. After
reading a little I saw that migrating from v 1 to 2 must be studied, so
I decided to upgrde to version 1.
BUT, I've seen a couple of warnings on my first run and I'm updating my
code, but I've found that my old sysntax for da
Hi, you may try this module: http://forge.puppetlabs.com/ptomulik/packagex
which implements `portsx` provider (FreeBSD ports).
W dniu środa, 7 sierpnia 2013 17:17:33 UTC+2 użytkownik joel johnston
napisał:
>
> Shouldn't pkg_add be using the -r option for package management? I worked
> around b
32 matches
Mail list logo