is you're just not
> hitting an endpoint. If you're trying to verify that the service is up
> and running, the way we typically do that is with
>
> curl http://localhost:8080/pdb/meta/v1/version
>
> which should return a blob with a version number.
>
> Wyatt
>
Hi folks,
I'm installing PuppetDB on my desktop. All configuration of puppetserver,
postgre is OK .. but occurring return 302 in my curl test. I read many
forums and it still did not work ..
Here is the error:
# curl -v http://localhost:8080
* About to connect() to localhost port 8080 (#0)
*
Please see https://tickets.puppetlabs.com/browse/MODULES-2206: the existing
implementation for concat does not work properly with noop mode, and
unfortunately cannot work without violating the principle of noop mode (no
changes made on the system). There was some discussion about this, and the
issu
Same error here, when using puppet module saz-ssh v2.8.1.
All my modules are:
# *puppet module lis*t
/etc/puppet/modules
├── puppetlabs-concat (v1.2.3)
├── puppetlabs-ntp (v4.0.0)
├── puppetlabs-stdlib (v4.6.0)
└── saz-ssh (v2.8.1)
Some facts from my fresh installation:
# *facter os puppetversi
centos-release package has been updated this night and fixes the problem :)
Le mercredi 1 avril 2015 09:59:14 UTC+2, Alexandre Barth a écrit :
>
> OS informations are broken using facter in CentOS 7.1 : os variable is not
> populated as it should be, and so operatingsystemmajre
OS informations are broken using facter in CentOS 7.1 : os variable is not
populated as it should be, and so operatingsystemmajrelease and
operatingsystemrelease are not created at all.
I think this comes from the /etc/redhat-release file in centos 7.1
In Centos 7.0, /etc/redhat-release is a sy
Hello !
I have a problem generating different configuration in a template depending
on package version installed.
For example, in my httpd module, i'd like to generate configuration using
Order, Allow from and Deny from if httpd < 2.4 and Require ip if httpd >
2.4.
I know i can create custom fa
Found out that a CSV file with value like
alex,"line1
line2"
will do the trick, but
alex,"line1
line2
\"line3"
will not work and
alex,"line1
line2
""line3"
will work
On Mar 1, 4:58 pm, Alexandre wrote:
> Is
Is there a way to be able to externalize multi-line variable (eg to
contain pem keys, etc...), to be used like
file { "/tmp/alex":
content => $::alex # In dashboard: alex = line1\nline2
}
file { "/tmp/alex2":
content => extlookup('alex') # alex,line1\nline2
}
I t
Hello Puppet user group,
I'm unable to get the node controllernode.vps.net to inherit the class
basenode to run any of the includes defined in basenode, no errors are
reported by puppet.
All controllernode.vps.net is able to import from puppet is the hosts
module which is defined in site.pp
---
> Think about it. You want puppet to send a notification to a resource.
> Puppet must decide whether this notification gets sent. So it must
> process the notifying resource. After that, *if* a notification was in
> fact generated, it can process the notified resource.
I see. I was making a differ
Why is 'notify' acting as a 'before' and not a 'require' ?
Can someone explain why this way is unlogical to Puppet parser, why the
'notify' would create a dependency cycle ? Why would the 'notify' need to
create an order ? Isn't it supposed to carry a message, and not a
constraint ?
Typically i w
I see, that is the "passenger_set_cgi_param" which was missing. I was
using "proxy_set_header" and that was not working. And clearly my
config.ru was missing a lot too, and i had to make symlinks and stuff
to point to my Puppet installation dirs
Thanks a lot,
Alex
On 13 déc, 22:14, windowsrefund
Hi,
I tried to adapt the Apache+Passenger donc on the PuppetLabs wiki for
use with nginx+passenger, but something is not working maybe i do not
set the http headers correctly. Did someone made it work ? Can you
share it ? Or is it already posted on the wiki (i did not find so
far) ?
Please don't a
yes i kind of do that too. Eg if i have different classes that permit
to setup and install each a certain java, and i want to make sure only
one of them can be instanciated with Puppet on a server at a time, i
make sure one of my ressources in each class has the name file { java:
name=>'real name',
There is a function to dynamically create Puppet resources from a
hash: createresources():
http://docs.puppetlabs.com/references/stable/function.html#createresources
On 27 oct, 17:03, Henrik Lindberg
wrote:
> Did you try something like:
>
> define boo($a="a", $b="b", $c="c") {
> bar { $tit
I also had such a scheme, but having the puppetmaster on an internal
private IP network, not even a DMZ. Puppet runs were triggered, there
was no puppet client daemon or crontabed runs.
server with Puppet client is on interent with public IP
Local intranet:
Puppetmaster
a Squid proxy
When i want
to prevent
> someone else going through my pain
>
>
>
> On 19 October 2011 11:21, Alexandre wrote:
>
>
>
>
>
>
>
> > Why not use RVM ? It wll be easy to create a ruby env with its gems.
> > It is in /usr/local and completely independant from the system
Great, i had not seen this one, thank you !
On 19 oct, 18:18, Nigel Kersten wrote:
> On Wed, Oct 19, 2011 at 2:06 AM, Alexandre Fouché <
>
>
>
>
>
>
>
>
>
> alexandre.fou...@gmail.com> wrote:
> > Hi,
>
> > I am using the cloud provisioner
Hi,
I was previously using an EC2 AMI where i was logging as root, and i
could bootstrap nodes.
I am now using Amazon AMIs ( http://aws.amazon.com/fr/amazon-linux-ami
) and they require login as ec2-user.
The problem is that if i run puppet node bootstrap --login ec2-user,
it will detect it and ru
Why not use RVM ? It wll be easy to create a ruby env with its gems.
It is in /usr/local and completely independant from the system ruby
and all gems. I enforce not putting any files on the system which are
not part of a RPM.
For example, i use the puppetmaster and puppet rpms, so that both run
an
Why not use RVM ? It wll be easy to create a ruby env with its gems.
It is in /usr/local and completely independant from the system ruby
and all gems. I enforce not putting any files on the system which are
not part of a RPM.
For example, i use the puppetmaster and puppet rpms, so that both run
an
I created a feature request https://projects.puppetlabs.com/issues/10167
On 19 oct, 11:06, Alexandre Fouché wrote:
> Hi,
>
> I am using the cloud provisioner to bootstrap some ec2 nodes, and these
> clients are signed using a randomly generated certname, which is put in
> /etc/pup
Hi,
I am using the cloud provisioner to bootstrap some ec2 nodes, and these
clients are signed using a randomly generated certname, which is put in
/etc/puppet.conf at the bootstrap time (eg certname =
d7bcd693-73fd-495f-0876-ff91ea1e).
But my puppet code repo also manages the puppet.conf fil
ah so that's why i could not find it at first. Somewhere in the Cloud
provisioner or Dashboard or documentation, there were links
to ...prosvc...
On 6 oct, 19:34, Michael Stahnke wrote:
> Greetings,
>
> I'd like to remove the cruft (no longer maintained) areas of
> yum.puppetlabs.com. I fear th
As far as i could see, the Puppet cloud provisionner also generates a random
name and creates a certificate request based on it. Then Puppet client is
run with the certname option, set with this previously generated hostname
2011/10/17 James A. Peltier
> - Original Message -
> |
> | Is
Sorry, it does not help with the problem, but some time ago, i think i had
something similar.
I had a module+class which is perfectly working, and which was included in
the node code. But if this class was in included in another class, it could
not be found and puppet run failed. I had no choice b
I had a similar problem, i use Git, and i though i could use branches and
Git tricks, but it does not mixes well with Puppet environments. What i do
below permits to use many puppet code branches, while having my puppetmaster
serve all different branches at the same time using environments
In my c
ever known at the time of the first "realize" call (by the
class puppet). But with a content overide, it should work, i suppose
2011/10/13 Nan Liu
> On Thu, Oct 13, 2011 at 3:16 AM, Alexandre
> wrote:
> > Hi,
> >
> > I am trying to manage the puppet.conf file,
organisation and tried to go from there, but i should
have seen from a bit higher and rethink how to solve the problems from my
requirements and not from what i already had coded !
2011/10/14 jcbollinger
>
>
> On Oct 13, 5:16 am, Alexandre wrote:
> > Hi,
> >
> > I am tryin
Hi,
How can i divide my puppet.conf file in multiple files ?
I would like to have the [main] and [agent] section in puppet.conf and
[master] in puppetmaster.conf for example. I could call sone "include"
or "import" statement inside puppet.conf to include the content of
puppetmaster.conf in my co
Hi,
I am trying to manage the puppet.conf file, but both my classes
'puppet' and 'puppet::master' need to manage it. Basically, the class
'puppet::master' should be able to override the resource, which could
be done by inheritance.
My problem is that my class 'puppet' is a parameterized class:
On Ubuntu/Debian, you can generate the hash using:
mkpasswd -m sha-512
I don't know if it works on Mac, but the output of it looks like the same as
the examples posted on this topic, so I think it should work.*
*
--
You received this message because you are subscribed to the Google Groups
"Pu
) , which i described above but i removed
them because the whole thing is too convoluted and does not work
anyway.
On Dec 18, 1:57 am, jcbollinger wrote:
> On Dec 17, 8:34 am, jcbollinger wrote:
>
> > On Dec 16, 9:17 pm, Alexandre wrote:
> > [...]
>
> > > because othe
, jcbollinger wrote:
> On Dec 16, 9:17 pm, Alexandre wrote:
> [...]
>
> > because otherwise Puppet would complain at -parsing- time, not execute
> > time, since it does not want to have the same ressource(here service)
> > declared twice, even if one is not included fo
Yes, in fact this is exactly what i have for the services -i want to
install or manage-. A base class with common stuff (eg mysql user,
group, pkg, test directories ... and service disabled by default), and
a child class ...::server with typically just include the service
specific config file and o
read
On 15 déc, 22:56, jcbollinger wrote:
> On Dec 15, 4:03 am, Alexandre wrote:
>
> > I though i found a way to do it, and i would like to show it here,
> > but unfortunately it does not exactly work well, see the comment in
> > uppercase: global variables seems to be set eve
I though i found a way to do it, and i would like to show it here,
but unfortunately it does not exactly work well, see the comment in
uppercase: global variables seems to be set even if no class from
the .pp file is included.
And i also think now i am going to far into akwardness, just tryin
The use case i try to illustrate is when to declare some item (eq
mysqld service) with a default configuration that could be included on
every node (class stripdown in the example, for basenode), and still
be able to override this same item in some specific class (eg
mysql::server), to be included
Friends,
I Make the update of my files on the puppetmaster server, but servers
customers run the classes that no longer exist.
Someone could help me?
Thank you!
--
Alexandre
SlackUser
"Seja Livre, Use Linux!"
--~--~-~--~~~---~--~~
You received th
40 matches
Mail list logo