I have the same requirement to install Sun JDK, not openJDK. Below is
the module I am using. I would be grateful for suggestions on how
this install can be done better.
Thank you,
Jon
class java {
package {"java-1.6.0-openjdk":
ensure => absent,
}
exec {"java_install":
Thanks Den,
You're right of course. I think I'll go down that route but still set uid/gid
in the manifest and use a log watcher to alert me whenever puppet changes a
user or group id. That way I know my users are all good and don't gave to do
pre-change audits and just deal with anomalies as th
Hi,
I've looked in the archives and elsewhere but couldn't find a solution
to the issue I'm having. I'm running puppet with an external CA that I
manage myself (ca=false for puppetmasterd) puppetmasterd is behind
nginx reverse proxy. On the client I'm getting:
root@web01:~# puppet agent --verbos
I'm having all sorts of trouble getting our new puppet-dashboard
install to connect/get the facts/inventory from the puppet master.
These are separate boxes, and I'm getting (testing):
root@puppetdash puppet-dashboard]# curl -k -H "Accept: yaml"
https://puppet:8140/production/facts/hero0304.rc.fa
On 13/04/2011, at 4:16 AM, Adam Heinz wrote:
>> context => "/etc/network/interfaces",
>
> Shouldn't this be "/files/etc/network/interfaces"?
indeed! now I get:
err:
/Stage[main]//Node[mon225044.insec.auckland.ac.nz]/Augeas[network_interface]/returns:
change from need_to_run to 0 failed:
Hi there,
I am new to Puppet and am writing my first module to manage our
cluster. So far, it worked out reasonably well. I can add yum
repositories and install packages with Puppet automatically.
However, one package requires the use of Sun JDK, not the openjdk
coming with CentOS.
The only way to
On Tue, Apr 12, 2011 at 07:20:24PM -0700, Brian Gallew wrote:
> I ended up doing something even uglier (and probably stupider). I created
> two sub-classes of jumpstart: jumpstart::mirrorroot and jumpstart::zfsroot,
> and each one just sets a variable ($target) and the uses the template. It's
>
On Tue, Apr 12, 2011 at 6:39 PM, Ben Hughes wrote:
> > Sadly, my introspection-fu seems to be lacking and I'm unable to figure
> it out. Any help?
>
> Not easily. The only way I was able to find mention of it at all was
> with the horrible voodoo of a template of:
>
> <%= require 'pp' ; pp @__sc
On Tue, Apr 12, 2011 at 06:57:42PM -0400, Tim Dunphy wrote:
> Here's what I've come up with so far:
>
> stage {
> "repo": before => Stage["main"]
>}
Have you tried using the other syntax:
stage{ [repo]: }
Stage[repo] -> Stage[main]
in site.pp?
--
Ben Hughes || http://www.pu
On Tue, Apr 12, 2011 at 02:22:03PM -0700, Brian Gallew wrote:
> Sadly, my introspection-fu seems to be lacking and I'm unable to figure it
> out. Any help?
Not easily. The only way I was able to find mention of it at all was
with the horrible voodoo of a template of:
<%= require 'pp' ; pp @__s
On Tue, Apr 12, 2011 at 7:02 PM, elliott wrote:
> Hi all, looking for some general advice for how people are doing
> this...
>
> We have some packages that *must* be kept at a particular version
> (e.g. httpd, php) because our code and configurations depend on it.
> As far as I'm aware, in puppet
Hi,
This sounds like a once change as you implement puppet, right? I don't imagine
you want to run that as part of a manifest.
What I would do is get a current list of uid numbers for your users and after
running puppet on your hosts for the first time, run a find searching on the
uid number
Can I import all my existing classes/modules into the dashboard, or do
I have to create them in the GUI?
Thanks,
Mohamed.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To uns
Hi all, looking for some general advice for how people are doing
this...
We have some packages that *must* be kept at a particular version
(e.g. httpd, php) because our code and configurations depend on it.
As far as I'm aware, in puppet, the only parameter that can be passed
to a package type des
On Apr 13, 4:16 am, Adam Heinz wrote:
> > context => "/etc/network/interfaces",
>
> Shouldn't this be "/files/etc/network/interfaces"?
Thanks! that was the thing I was missing.
The iface stuff works fine now but I can't figure out how to add a new
auto line
"set auto[. = 'eth1'] eth1",
On Apr 12, 10:49 am, Patrick wrote:
> On Apr 12, 2011, at 8:03 AM, jcbollinger wrote:
>
> > 1) parameterized classes can be included only once, unlike
> > unparameterized ones. This tends to require modules to have an
> > hierarchical structure, which isn't very suitable in many
> > circumstanc
On Apr 12, 2011, at 10:33 AM, Jake - USPS wrote:
> What release notes are you referring to? The puppet-dashboard page
> mentions 1 upgrade, as does the README.markdown in the source/
> package. There is a RELEASE_NOTES.md file, but that seems to be a
> copy of CHANGELOG. Please let me know if
OK, I'm trying to do something (apparently) stupid. Here's the relevant
fragment of my manifest:
"/jumpstart/Begin/rootmirror.beg":
require => File["/jumpstart/Begin"],
content => template("jumpstart/standard.beg.erb");
"/jumpstart/Begin/standard.beg":
require => F
What seems the best set of indexes to you?
Next, you need to read your mysql docs to "optimize table" and to reindex a
table, especially if there have been lots of writes and/or lots of deletes.
~Charles~
--
You received this message because you are subscribed to the Google Groups
"Puppet User
the rows are respectively 19450 and 1
So I have down from 95691 to 19450
with one index on kind and one on status , it s worst
it use only index_reports_on_kind and 1 X 58631 rows ..
mysql> explain SELECT `nodes`.* FROM `nodes` INNER JOIN `reports` ON
reports.node_id = nodes.id WHERE ((reports
Good try! But I was not clear. Try an index just for kind, and another
separate index just for status. You are down to 4 x 768 (3072) from 95691.
That is much better. Again, drop the create separate indexes for kind and
status and index_reports_on_kind_and_status .
On Tue, Apr 12, 2011 at 2:11 PM
- Original Message -
> >
> > On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar < r...@devco.net >
> > wrote:
> > - Original Message -
> > >
> > >
> > >
> > > On Mon, Apr 11, 2011 at 9:25 PM, John Warburton <
> > > jwarbur...@gmail.com > wrote:
> > >
> > >
> > > OK, I'll bite
> >
On Tue, Apr 12, 2011 at 11:24 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> > Hi all,
> >
> > Thanks for the input
> >
> >
> > On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar < r...@devco.net >
> > wrote:
> > - Original Message -
> > >
> > >
> > >
> > > On Mon, Apr 11, 2011 at
I have add an index
ALTER TABLE `reports` ADD INDEX `index_reports_on_kind_and_status` ( `kind`
, `status` )
it s better but maybe not perfect as the query is performed on each pages in
the dashboard
Thanks
Vincent
mysql> explain SELECT `nodes`.* FROM `nodes` INNER JOIN `reports` ON
reports.no
A couple of things to notice. First, only the nodes.id index and
index_reports_on_node_id
index are used, and since index_reports_on_node_id is used as a ref type you
will have 573 x 167 rows to examine (95,651 more or less) to produce the
rows your sql finally fetches. You might --important: might
- Original Message -
> Hi all,
>
> Thanks for the input
>
>
> On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar < r...@devco.net >
> wrote:
> - Original Message -
> >
> >
> >
> > On Mon, Apr 11, 2011 at 9:25 PM, John Warburton <
> > jwarbur...@gmail.com > wrote:
> >
> >
> > OK
I just finished getting my 1.1.0rc3 package created and as you thought
my issues disappeared ... /reports/upload works fine now.
Thanks,
Jake
On Apr 12, 12:33 pm, Jake - USPS wrote:
> What release notes are you referring to? The puppet-dashboard page
> mentions 1 upgrade, as does the README.mar
On Tue, Apr 12, 2011 at 8:00 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> > On 04/12/2011 04:41 PM, R.I.Pienaar wrote:
> > >
> > >
> > > - Original Message -
> > >> On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar < r...@devco.net >
> > >> wrote:
> > >>
> > >>
> > >>
> > >> Th
Hi all,
Thanks for the input
On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> >
> >
> >
> > On Mon, Apr 11, 2011 at 9:25 PM, John Warburton <
> > jwarbur...@gmail.com > wrote:
> >
> >
> > OK, I'll bite
> >
> > In the newly published Style Guide (
> > htt
What release notes are you referring to? The puppet-dashboard page
mentions 1 upgrade, as does the README.markdown in the source/
package. There is a RELEASE_NOTES.md file, but that seems to be a
copy of CHANGELOG. Please let me know if I missed something or if
there is a better place to look fo
On Apr 12, 2011, at 9:57 AM, Jake - USPS wrote:
> Arg, I didn't even realize I was already using an old version ... I'll
> update to 1.1.0 and give it another shot.
>
> Thanks for the reply.
As a quick reminder if you're skimming release notes, or not reading them at
all, you'll need to do two
Arg, I didn't even realize I was already using an old version ... I'll
update to 1.1.0 and give it another shot.
Thanks for the reply.
On Apr 12, 10:48 am, Patrick wrote:
> On Apr 12, 2011, at 8:41 AM, Jake - USPS wrote:
>
> > puppet-dashboard-1.0.4-1.sles10
>
> > Everything works fine. From wh
here is the result , I don't know what to do :(
mysql> explain SELECT `nodes`.* FROM `nodes` INNER JOIN `reports` ON
reports.node_id = nodes.id WHERE ((reports.kind = 'apply' AND reports.status
!= 'failed') AND (`nodes`.`hidden` = 0)) GROUP BY nodes.id;
++-+-+---+--
Hi Luke,
thanks for reply.
I'm already using (thin) storeconfigs, and I would prefer to avoid
deleting the currently stored data just to inizialize a clean db
schema (I think the inventory service uses extra tables).
There are 2 reasons why I'd prefer to avoid trashing stored configs
data, even if
> context => "/etc/network/interfaces",
Shouldn't this be "/files/etc/network/interfaces"?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group,
Hi,
I was curious if anyone out there could point me in the right direction to best
practices in writing (spec) tests for modules. My #{search provider}-fu is
failing this morning and I'd like to get beyond the basic pre/post commit hooks
of basic syntax checking.
Cheers,
Ryan
--
You receive
Actually that is the good way to do that on a fresh installation I suppose,
but I wonder, and ask, if there's a way to create the needed schema for the
Inventory service without destroying the current database.
My case is that I've a Puppet Master with storeconfigs activated and a lot
of data a
If I create a user resource and specify UID and a group resource and
specify GID where the user and group may or may not already exist, in
the case where the user or group does exist would it be best practice
to:
1) Have puppet change the uid/gid values, then post this change, trawl
through logs t
On Apr 12, 2011, at 4:16 AM, Greg Sutcliffe wrote:
> Since I don;t want to lose my historical data in production,
What's that mean exactly? Are you saying you don't want to drop reports while
the DB is being migrated?
--
You received this message because you are subscribed to the Google Grou
On Apr 12, 2011, at 8:03 AM, jcbollinger wrote:
> 1) parameterized classes can be included only once, unlike
> unparameterized ones. This tends to require modules to have an
> hierarchical structure, which isn't very suitable in many
> circumstances. (More on that below.) It does, however, sor
On Apr 12, 2011, at 8:41 AM, Jake - USPS wrote:
> puppet-dashboard-1.0.4-1.sles10
>
> Everything works fine. From what I've read, '/reports' is old/
> deprecated and 'reports/upload' is what should be used ... so I was
> wondering if this has been seen before and/or if I'm doing something
> wro
I'm running puppet dashboard on a SLES10 system. I'm using apache2
included with SLES10 and everything is custom compiles:
apache2-2.2.3-16.29.2
ruby-augeas-0.3.0-1.sles10
ruby-1.8.7-1.sles10
ruby-gem-rake-0.8.7-1.sles10
ruby-gem-rack-1.2.1-1.sles10
ruby-gem-passenger-3.0.2-1.sles10
ruby-gem-sys-
- Original Message -
> On 04/12/2011 04:41 PM, R.I.Pienaar wrote:
> >
> >
> > - Original Message -
> >> On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar < r...@devco.net >
> >> wrote:
> >>
> >>
> >>
> >> The PDL is a *much* more desirable solution than either layered
> >> classes
>
On Apr 12, 12:45 am, Dan Bode wrote:
> On Mon, Apr 11, 2011 at 9:25 PM, John Warburton wrote:
>
> > OK, I'll bite
>
> > In the newly published Style Guide (
> >http://docs.puppetlabs.com/guides/style_guide.html), right at the end it
> > says
>
> > Modules should avoid the use of extlookup()
You have a partial (i.e., three-part) index 'time', 'node_id', 'status' from
which you appear to be selecting against only two parts. On the mysql
command line run the query by hand preceded by the keywprd "explain"
explain select nodes blah blah blah
You should get back a listing that will let y
On 04/12/2011 04:41 PM, R.I.Pienaar wrote:
>
>
> - Original Message -
>> On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar < r...@devco.net >
>> wrote:
>>
>>
>>
>> The PDL is a *much* more desirable solution than either layered
>> classes
>> or extlookup, why it has gone un-implemented I dont
Is it possible to have multiple file paths defined for a single module
in the fileserver.conf?
For example
[files]
path /first/path/files
path /second/path/files
allow *
[modules]
allow *
[plugins]
allow *
The here described configuration did not work as i tried it already.
Any idea
- Original Message -
> On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar < r...@devco.net >
> wrote:
>
>
>
> The PDL is a *much* more desirable solution than either layered
> classes
> or extlookup, why it has gone un-implemented I dont know and why the
> current suggestion is that layered
On Tue, Apr 12, 2011 at 12:54 AM, R.I.Pienaar wrote:
> The PDL is a *much* more desirable solution than either layered classes
> or extlookup, why it has gone un-implemented I dont know and why the
> current suggestion is that layered classes somehow represents an effective
> alternative to the P
I have noticed thaht when I remove ((reports.kind = ‘apply’ AND
reports.status = ‘failed’) part from the query, the query is very
quick.
mysql> show index from reports from dashboard;
+-++--
+--+-+---+-
What indexes do you have on the respective tables?
On Tue, Apr 12, 2011 at 5:25 AM, Vincent wrote:
> I have increase the mysql like this but the queries takes still more
> than 9sec for the first page.
> any other suggestions for the mysql tuning ?
>
> key_buffer=64M
> sort_buffer=4M
> query_cac
query on nodes or reports table are very quick, it s with this join
that the query is slow
Is an index missing ?
On Apr 12, 12:25 pm, Vincent wrote:
> I have increase the mysql like this but the queries takes still more
> than 9sec for the first page.
> any other suggestions for the mysql tuni
Heya,
I've merged both approaches. First, I dropped the db on my development
server, and then let puppet recreate it. Since I don;t want to lose my
historical data in production, I then dumped and compared the schema's from
the dev (2.6.7) and prod (2.6.2) environments. I then upgraded prod to
I have increase the mysql like this but the queries takes still more
than 9sec for the first page.
any other suggestions for the mysql tuning ?
key_buffer=64M
sort_buffer=4M
query_cache_size = 20M
read_buffer_size=1M
Node Load (9090.5ms) SELECT `nodes`.* FROM `nodes` INNER JOIN
`reports` ON r
- Original Message -
>
>
>
> On Mon, Apr 11, 2011 at 9:25 PM, John Warburton <
> jwarbur...@gmail.com > wrote:
>
>
> OK, I'll bite
>
> In the newly published Style Guide (
> http://docs.puppetlabs.com/guides/style_guide.html ), right at the
> end it says
>
> Modules should avoid th
Forrie [Mon, Apr 11, 2011 at 02:22:03PM -0700]:
> Thanks, this was the problem. Sounds like a bug to me.. ?
>
> How can I go through my systems and remove all the 10's of redundant
> SSH-DSS keys that have the comment in them? I dread doing that by
> hand :-)
In cdist[0] we've a type __removeli
On 04/11/2011 06:55 PM, Mohamed Lrhazi wrote:
> I did not find any reference I just added a second apache virtual
> server to do http on port 80.
>
> On Mon, Apr 11, 2011 at 12:14 PM, Patrick wrote:
>> Bump. Anyone know the answer? Can puppet use https to post reports? I'm
>> having trou
57 matches
Mail list logo