Displaying 11 results from an estimated 11 matches for "showformat".
2007 Jul 21
5
Some ''in service'' questions
Hi,
Just a quick query about some things that crop up when I run ''puppetd
--test''. Every time I run this command I always see the following
output, which I think is strange as the ''man'' package has been installed
previously and the firewall service is definitely running. Has anybody
got any suggestions as to why puppet thinks it needs to install the man
2014 Mar 15
5
A few easy dpkg optimizations for supermin
I have done some printf profiling and found that supermin's calls to
dpkg for individual packages are quite expensive. Here are some
patches that gather all information on demand where possible.
On my Debian/unstable-based workstation at home, preparing a minimal
appliance using
$ ./supermin --use-installed --prepare bash -o supermin.d
now takes ~3.5s (previously ~15s).
Turning that
2007 Apr 12
1
upgrade to .22.3 and got errors on packages (debian sarge)
...everal error
messages. I havent found why i got them. Nothing has changed but still
there is error and i cannot correct them:
err: Package[lsb-release](provider=aptitude): Could not find latest version
i run debug:
debug: package provider aptitude: Executing ''/usr/bin/dpkg-query -W
--showformat ${Status} ${Package} ${Version}\n lsb-release''
debug: package provider aptitude: Executing ''/usr/bin/apt-cache policy
lsb-release''
err: Package[lsb-release](provider=aptitude): Could not find latest version
debug: //all/linux/debian/Package[lsb-release]/ensure: @is is &q...
2011 Oct 18
5
[PATCH febootstrap] Some cleanups for Debian and Ubuntu
I just tried to get libguestfs to compile on Ubuntu 11.10 using the
latest febootstrap, and the following patches were necessary for me.
They are all just reasonable code cleanups *except* for patch 5/5
which is a gross hack for something I don't understand about how
Ubuntu 11.10 multiarch support works.
Rich.
2011 Aug 23
2
err: Could not run Puppet configuration client: execution expired
.../sbin/swinstall
does not exist
debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/
pkg_deinstall does not exist
debug: Creating default schedules
debug: Loaded state in 0.04 secondseyecon
debug: Prefetching apt resources for package
debug: Executing ''/usr/bin/dpkg-query -W --showformat ''${Status} $
{Package} ${Version}\n''''
debug: Puppet::Type::Package::ProviderApt: Executing ''/usr/bin/dpkg-
query -W --showformat ''${Status} ${Package} ${Version}\n''''
debug: /Stage[main]/Ant_1_8_2/File[/usr/ant/latest]/require: requires...
2011 Jun 20
13
confused about file ensure/require
my base/default includes this ntp manifest
# cat modules/ntp/manifests/ntp.pp
# ntp.pp
class ntp {
case $operatingsystem {
centos, redhat: {
$service_name = ''ntpd''
$conf_file = ''ntp.conf.el''
}
debian, ubuntu: {
$service_name = ''ntp''
$conf_file = ''ntp.conf.debian''
}
}
package {
2011 Sep 12
1
[PATCH] febootstrap: Use contents of installed Debian packages instead of downloading and unpacking them.
...bb10f15 100644
--- a/src/febootstrap_debian.ml
+++ b/src/febootstrap_debian.ml
@@ -28,6 +28,9 @@ open Febootstrap_cmdline
(* Create a temporary directory for use by all the functions in this file. *)
let tmpdir = tmpdir ()
+let installed_pkgs =
+ run_command_get_lines "dpkg-query --show --showformat='${Package}\\n'"
+
let debian_detect () =
file_exists "/etc/debian_version" &&
Config.aptitude <> "no" && Config.apt_cache <> "no" && Config.dpkg <> "no"
@@ -51,18 +54,29 @@ let rec debian_resolv...
2010 Feb 06
4
why do I get ensure changed 'purged' to 'present' on a package when it is already installed
Hi all,
I have created a squid class that also installs squidGuard. When I
run puppetd I always get
notice: //Node[xxxx.xxxxxx.xxx]/squid/squid::install/
Package[squidGuard]/ensure: ensure changed ''purged'' to ''present''
even though the package is already installed - why is this change in
package status happening as it then triggers my exec resource which is
2013 Oct 10
3
Puppet fails to install package, whilst it's okay to do manually
Dear all,
I''m seeing this strange thing: When I run "*puppet agent -td*" on the node
(Nagios, in this example case), puppet fails to install Nagios3 (on Debian)
with this:
Debug: Executing ''/usr/bin/dpkg-query -W --showformat ${Status} ${Package}
> ${Version}\n nagios3''
> Debug: Executing ''/usr/bin/apt-get -q -y -o
> DPkg::Options::=--force-confold install nagios3''
Error: Could not update: Execution of ''/usr/bin/apt-get -q -y -o
> DPkg::Options::=--force-confold insta...
2007 Feb 27
14
Using a single class multiple times
Hi-
Recently starting using puppet while migrating an existing messy group
of systems to some nice new hardware. Things are going incredibly well,
and puppet''s functioning great. Have a bit of a headache. I''d like to
keep myself from duplicating lots of included classes. Lets say I have
this (snippet of a) class:
class dbserver {
file { "/etc/my_${db}.cnf":
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...n_version" &&
- Config.aptitude <> "no" && Config.apt_cache <> "no" && Config.dpkg <> "no"
-
-let installed_pkgs = ref []
-
-let debian_init () =
- installed_pkgs :=
- run_command_get_lines "dpkg-query --show --showformat='${Package}\\n'"
-
-let get_installed_pkgs () =
- match !installed_pkgs with
- | [] -> assert false
- | pkgs -> pkgs
-
-(* Select which dependencies will be installed. See apt-cache(8) for
- * complete details. Using "-i" means only Depends and Pre-depends
- *...