Hi,
I think you can solve this by resolving dependancy in init.pp
You may try something like this.
init.pp
class openstack {
include openstack::install
class {'nova::controller':
require = Class['openstack::install'],
}
On Saturday, August 17, 2013 2:11:31 AM UTC+5:30, towen27
I've setup dynamic environments using git but I'm confused about how
environments are actually supposed to be used. We're a small ISP and have
freeradius servers, VPN servers and web servers. I've been using
environments to enable me as the sysadmin to build and test new
manifests/modules
Hi,
I think you have confusion about structure.
Structure should be:
human:
|- manifests
|- init.pp
|- user.pp
1. init.pp - Contains a class definition. (every class
There's an experimental 3rd-party apt repo
herehttp://apt.cegeka.be/puppetlabs/,
that seems to work for me. Corresponding instructions on how to build those
packages yourself are in this blog
posthttp://www.dammekens.be/2013/04/04/packaging-puppet-3-1-1-for-arm-raspberry-pi/
.
Note my comment
Git branching and environments is exactly what we did to solve this
problem. We are actually using gitolite which allows us to lock down who
can push to certain branches. So anyone can create their own branch, push
that up (which creates the proper directories through git hooks) and test
with
On Monday, August 19, 2013 1:59:46 AM UTC-5, JeremyCampbell wrote:
I've setup dynamic environments using git but I'm confused about how
environments are actually supposed to be used. We're a small ISP and have
freeradius servers, VPN servers and web servers. I've been using
environments
On Sun, Aug 18, 2013 at 9:04 PM, me 1 solarflo...@gmail.com wrote:
On Sunday, August 18, 2013 6:13:38 PM UTC-4, Jim Toth wrote:
There are a few ways to go; probably the best way is to set up a bare
repository that you push and pull from in both places, but I'd probably add
the development
Dear Brian and John,
Thanks a lot for your replies. I was under the impression that site.pp had
to be in the environment, which I now see it doesn't have to. =)
What I don't quite understand is though is the following:
There are four forbidden environment names:
- main
- master
For what it's worth, I had the same problem and figured out the particular
cert on Windows 7 (64bit) that was causing the issue:
--
[Subject]
CN=Thawte Timestamping CA, OU=Thawte Certification, O=Thawte,
Hello!
I've got a manifest that involves downloading and updating a bunch of
different packages using apt, pip, etc. One of my apt-dependencies,
dnsmasqhttp://www.thekelleys.org.uk/dnsmasq/doc.html,
redirects the machine's DNS. Any modules currently running at that time
that use the
what the mcollective client can do is limited to the agents installed
on the other side (server side).
Puppet lists those agents as being available:
http://projects.puppetlabs.com/projects/mcollective-plugins/wiki
I don't think that there is an agent that can run random remote commands.
On
On 2013-08-19 16:23, Sandra Schlichting wrote:
Dear Brian and John,
Thanks a lot for your replies. I was under the impression that site.pp
had to be in the environment, which I now see it doesn't have to. =)
What I don't quite understand is though is the following:
There are four
On 2013-08-19 14:06, Matt S wrote:
Hello!
I've got a manifest that involves downloading and updating a bunch of
different packages using apt, pip, etc. One of my apt-dependencies,
dnsmasq http://www.thekelleys.org.uk/dnsmasq/doc.html, redirects the
machine's DNS. Any modules currently running
Hi John,
Thank you for a most well considered response given my level of
understanding. I'd much appreciate an example of a system sliced along 2 or
more different dimensions that need to be flattened into one, this is the
only part not clear to me.
Regards,
Jeremy.
On Monday, August 19,
I'm using Hiera with Puppet and I want to pass the same parameter value to
multiple classes without repeating it. Right now I've got (in Yaml):
---
class_a::database_server: myoraclebox.example.com
class_b::database_server: myoraclebox.example.com
This works, but how can I specify the server
On Sun, Aug 18, 2013 at 9:04 PM, me 1 solar...@gmail.com javascript:wrote:
On Sunday, August 18, 2013 6:13:38 PM UTC-4, Jim Toth wrote:
There are a few ways to go; probably the best way is to set up a bare
repository that you push and pull from in both places, but I'd probably add
the
Hi,
I am learning puppet using version 2.7.18 on a fresh ubuntu install.
I am trying to test this module
https://github.com/liamjbennett/puppet-sabnzbd/blob/master/manifests/init.ppbut
I'm having trouble with the
if defined(Class['supervisor::service']) section in that it doesn't get run
On Sun, Aug 18, 2013 at 9:04 PM, me 1 solar...@gmail.com javascript:wrote:
On Sunday, August 18, 2013 6:13:38 PM UTC-4, Jim Toth wrote:
There are a few ways to go; probably the best way is to set up a bare
repository that you push and pull from in both places, but I'd probably add
the
On Sun, Aug 18, 2013 at 9:04 PM, me 1 solar...@gmail.com javascript:wrote:
On Sunday, August 18, 2013 6:13:38 PM UTC-4, Jim Toth wrote:
There are a few ways to go; probably the best way is to set up a bare
repository that you push and pull from in both places, but I'd probably add
the
Hmm...you might need to add git remote update in there. git pull does
that by default.
On Mon, Aug 19, 2013 at 1:22 PM, me 1 solarflo...@gmail.com wrote:
On Sun, Aug 18, 2013 at 9:04 PM, me 1 solar...@gmail.com wrote:
On Sunday, August 18, 2013 6:13:38 PM UTC-4, Jim Toth wrote:
There
So, I can't speak to the authors intentions, but I'll do my best to explain
the behavior.
As you guessed defined() behaves differently based on what is passed to it.
If passed a resource reference, as it is in the module, it will check that
that resource has been declared. if passed a string,
On Mon, Aug 19, 2013 at 10:23 AM, Sandra Schlichting
littlesandr...@gmail.com wrote:
Dear Brian and John,
Thanks a lot for your replies. I was under the impression that site.pp had
to be in the environment, which I now see it doesn't have to. =)
What I don't quite understand is though is
Thanks for your reply!
My issue was that my dnsmasq class was a) downloading the package b)
setting up the service and c) adding monit monitoring scripts for it. The
last part was the cyclic dependency issue. A number of things are
monitored by monit, and pulling one of them into my
This did it! For a simple setup I think this works great, maybe these
instructions should go in the docs somewhere?
Thanks for your help.
On Monday, August 19, 2013 1:30:57 PM UTC-4, Jim Toth wrote:
Hmm...you might need to add git remote update in there. git pull does
that by default.
ok, that's great. Thanks for the help.
The puppet-docs it says: *Modules are how Puppet finds the classes and
types it can use* — it automatically loads any
classhttp://docs.puppetlabs.com/puppet/2.7/reference/lang_classes.html
or defined
Since in this case, it's checking that supervisor::service exists so it can
declare one, I'd say checking for just 'supervisor::service' would be fine.
You may want to stay around and see what other people think though, as I
could be missing something.
Looking at it again, the check to see if
26 matches
Mail list logo