Displaying 20 results from an estimated 3000 matches similar to: "modules yet again"
2013 Mar 04
7
I moved my modules and manifest directory in puppet master.
I also made the changes below in the puppet.conf file to tell puppet where
to look for the the modules and manifests. I then restart the puppet master
then ran puppet command to apply changes to a puppet client it did not
find anything to change just got these three lines "info: Caching catalog
for pdlnx-adpt03.kareoprod.ent, info: Applying configuration version
2010 Mar 30
3
Environment settings not functional
Hi,
I''ve got some problems with setting up environments. On the master:
[main]
[...]
manifestdir = /etc/puppet/manifests
modulepath = /etc/puppet/modules
[...]
environments = production,staging
[production]
manifestdir = /etc/puppet/manifests
modulepath = /etc/puppet/modules
[staging]
manifestdir = /opt/puppet-staging/manifests
modulepath = /opt/puppet-staging/modules
[puppetmasterd]
2012 Jun 05
7
Not using expired node for targethost from cache; expired
Hi,
When I execute *puppet agent --test --debug --verbose* on the target host,
I receive the following error message:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find class pe_accounts for targethost on node targethost
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
I enabled debugging for the Puppet Master, and
2017 Mar 08
2
LLVMGetBitcodeModuleInContext2 problem
I'm trying to use LLVMGetBitcodeModuleInContext2 to load a .bc file.
However, it's not working.
The code looks something like this:
void llvm_load_IR_library(char *path)
{
LLVMContextRef global_context;
LLVMMemoryBufferRef module_path;
LLVMModuleRef ir_lib_module;
bool flag;
module_path = LLVMCreateMemoryBufferWithMemoryRange(path,
strlen(path),
2013 Aug 28
3
agent will not run
Hi,
I wonder why the puppet agent on the server itself will not run:
---snip---
# puppet agent --test
Error: Could not run Puppet configuration client: Puppet::Node does not
respond to from_s; can not intern instances from text/plain
Error: Could not run: can''t convert Puppet::Util::Log into Integer
---pins---
whereas the client on a test box tells me:
---snip---
# puppet agent --test
2017 Mar 08
2
LLVMGetBitcodeModuleInContext2 problem
>
>
> module_path = LLVMCreateMemoryBufferWithMemoryRange(path,
> strlen(path), "path", 1);
>
LLVMCreateMemoryBufferWithContentsOfFile takes a path.
Erm...no...the code is calling LLVMCreateMemoryBufferWithMemoryRange, not
LLVMCreateMemoryBufferWithContentsOfFile...
Or do you mean I need to load the module into memory before calling
2012 Dec 27
3
generate() function help
Hi.
I want to run script which is distributed with my module, but the
problem is I have to then hardcode the path to the script in the
generate function call, for example:
generate("/etc/puppet/environments/${environment}/modules/mymodule/scripts/myscript")
But what If some other site uses other path to their modules, or doesn''t
use environments at all? Is it possible
2007 May 11
14
Trailing commas [best practice survey]
I''m sure everyone has read and committed the Puppet Best Practice to memory
by now (I joke). One of the things I''ve written in there deals with
trailing commas, which I adopted from the way I used to do multiline in
Perl, but I''ve noticed that most people don''t tend to do that in Puppet.
Should I revise this or should we all start using the trailing commas?
2007 Oct 15
2
mdadm exim mysql
I installed a CentOS-5 core OS (using --nobase in my kickstart).
For some reason, it included mysql-5.0.22.
When I do "yum remove mysql", it says it will also remove
exim and mdadm for dependencies.
I don't care that exim will be removed, but I need mdadm as
I'm doing software RAID.
But why are these even related? When I do:
rpm -q --requires mysql
neither exim or mdadm is
2007 Oct 23
2
packages in "base" that are not in "nobase"
Is there a way to list the packages that are in a "base"
install, but that are not in a "nobase" (core) install?
I did a nobase install, then ran "yum groupinstall Base",
but this just lists everything in base, including the core
packages.
Mainly, I'm just looking to audit the packages, and add only
necessary ones back to a nobase install.
So far, I've
2007 Nov 15
2
central logging/analysis
I'm interested in doing centralized logging & analysis of logs from my
CentOS boxes.
I messed around with syslog-ng and it seems like it's a better syslog.
But I noticed most of the "usual suspects" of third-party repo
maintainers (Dag, Axel, etc.) don't include it. Karanbir has an el4
version, but all my boxes are CentOS 5.
I was going to go ahead and roll my own
2007 Oct 24
1
networking problems with kernel 2.6.18-8.1.15.el5xen
Today I installed a core CentOS-5 (--nobase). After that, I
"yum update", rebooted, then "yum install xen kernel-xen".
When I boot into the xen kernel, I can't get networking on
eth0. It can ping itself, but not anything else. There are
no routes listed, when I try to add a default gateway, it
just says there's no network reachable.
When I change
2005 Feb 11
1
CPU temperature?
Has anyone gotten lm_sensors to work on a CentOS3.3/RHEL3 box? I think
I'm having CPU temperature-related problems, and wanted some way to
monitor it. I believe lm_sensors does this, but can't seem to figure out
how to get it to work.
I already did "yum install lm_sensors" but when I run sensors-detect, it
complains:
Couldn't open /proc/bus/i2c?!? at /usr/sbin/sensors-detect
2015 Aug 13
2
Skype Issue
Hey Y'all,
Seems my Skype installation has stopped working.
I have skype-4.3.0.37-2.el6.i686.rpm from the Nux repo.
[mlapier at peach ~]$ skype %U
(<unknown>:27070): Gtk-WARNING **: Unable to locate theme engine in
module_path: "clearlooks",
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "pk-gtk-module"
I
2017 Sep 14
1
vmware player 12.5.7 with CentOS 7.4
hi all - anyone find a way to get vmware player 12.5.7 working with 7.4?
Thanks - everything good with the upgrade except that.
Great job CentOS team!
Jerry
starting vmplayer I get the following:
Note: adwaita is installed.
canberra is installed
No idea what pk is ?
vmplayer
(vmware-modconfig:12595): Gtk-WARNING **: Unable to locate theme engine in
module_path: "adwaita",
2008 Nov 24
2
Understanding the docs
Ok, I''ve been reading and I have some questions about best practices:
I understand that modules are to be self contained blocks that i can
just drop in. Using best practices, how does this fit into the naming
scheme?
Classes are singletons. I think i understand this. I''ve been
defining classes in /etc/puppet/classes, but then how does this relate
to any modules i might want
2007 Aug 06
2
"near native" performance with xen?
Just wondering if there was a howto or other URL that
explains what is needed to achieve "near native" performance
on a xen domU -- for this purpose, I am thinking about a
single domU running on a physical server, in comparison to
that same physical server running the same kernel but
non-xenified.
For instance, using a physical partition for VBD v. using a
file-backed one is one
2013 Nov 05
5
Deployed custom facts with module do not show up
When I deploy a module I wrote with couple of custom facts, those facts do
not show up in factor.
But when I point FACTORLIB to the directory with those factor, they work
just fine.
I am running a masterless puppet version 2.7.22 and factor 1.7.1
The module structure looks like so:
-license
---lib
-----facter
-------license.rb
-------hardware_serial.rb
-----puppet
Any idea what is causing
2009 Dec 30
4
yet another class dependency question.
Hi,
I am running puppet version 0.25.1 on both the server and client and am
getting the following error on a puppet run:
err: Could not apply complete catalog: Could not retrieve dependency
''Class[http]'' of Class[puppet::http]
Class http is defined in the "http" module like so:
class http {
package { httpd: ensure => installed }
file {
2012 Sep 28
2
nested modules and autoloading
All-
I''m using puppet 2.7.14. I''ve reviewed
http://docs.puppetlabs.com/puppet/2.7/reference/modules_fundamentals.html
but it doesn''t seem to cover what I''m attempting.
Consider a module layout like this:
$ tree mymodule
mymodule
|-- Modulefile
|-- README
|-- manifests
| |-- init.pp
| |-- special_type
| | `-- prereqs.pp
| `-- special_type.pp