Displaying 20 results from an estimated 7000 matches similar to: "Solaris SMF manifests and services in puppet"
2010 Oct 06
3
Checking and setting svc properties in Solaris
Hello folks,
I''ve been looking into how I might check (and possibly set) svc
properties via puppet.
The closest I''ve found, is the provider/service/smf stuff.
However, that seems to only allow enabling and disabling of services.
NOT of configuring properties.
Is there some way I dont know of, how to do that?
If not, and I need to write something... under which module/plugin/
2007 Nov 19
3
virt-install complains about vnc-password not being set
Hi All,
Im getting the following error when I run virt-install:
bash-3.2# virt-install -n winxp-01 --hvm -r 384 --vnc -f
/etc/opt/vms/winxp-01.img -s 16 -c /etc/opt/images/windowsXP_SP2.iso
Starting install...
libvir: Xen Daemon error : POST operation failed: (xend.err ''Error
creating domain: vncpasswd is not set up in VMconfig and xend-config.'')
Traceback (most recent call
2006 Dec 30
9
puppetd.pid and SMF woes
So when puppetd crashes/whatever, and a pid file is left behind, SMF
in Solaris will try restarting puppet, but fail. And then it sits
there restarting it forever.
I''m not sure if I can adjust the flap detection in SMF.. it isn''t
disabling the service for "restarting too quickly" because it takes so
long to start. Probably because I''m NFS-mounting ruby. The
2005 Mar 03
1
solaris 10 SMF setup?
Hello
I'm in the process of putting SMB onto a dual Opteron x64
box running Solaris 10, with the SFW samba as supplied by
Sun.
I haven't found any hooks for this for the new SMF/SVC startup
system, so I'm doing so now, but before I go any further,
am I duplicating any efforts? Is anyone else doing
this and has done it?
At present I'm only starting smbd and nmbd (I never really
2007 Dec 17
16
How to configure default NIC when creating Guest
Hi All,
I have a machine with three network cards, and the third card(named
e1000g2) is in use now. I want to use e1000g2 as default NIC when I
create Guest. How can I change the default NIC? I can override the
default value of config/default-nic property of svc:/system/xvm/xend.
But xend still use e1000g0 when creating Guest.
BTW, I can explicitly set "bridge=e1000g2" when creating
2006 Dec 19
2
Automating client setups
Is there a Best Practices method for doing this? :)
I''m trying to configure clients by ssh''ing to them from the
puppetmaster. My steps are:
ssh $host ''svccfg import ...''
sleep
puppetca --sign $host
scp namespaceauth.conf $host
ssh $host ''svcadm restart puppet''
The problem is that I''d like to stop and log an error if the cert
signing
2007 Mar 15
13
puppet standlone hanging when ran via init.d
Hi,
I''ve just changed my debian preseed configuration to install the debian
unstable package of puppet v0.22.1. As part of the preseed I have a late
command that clobbers the /etc/init.d/puppet file into using the puppet
standalone program and not the puppetd (as this is what I''m using). Since
the upgrade to 0.22.1 every boot hangs during the initd. Going into
standalone mode
2007 Nov 20
5
Solaris 10 Jumpstart instructions on the wiki now
Not that I''m much of a Solaris guy, and definitely not a Solaris 10 guy,
but since nobody else had posted anything yet:
http://reductivelabs.com/trac/puppet/wiki/PuppetSolaris#Solaris10
The good news is that it appears to be a completely hands-off puppetd
installation. Just sign the client key afterwards on the puppetmaster
and you''re set. The bad news is that it''s
2008 Jun 26
2
Oops: zfs-auto-snapshot with at scheduling
Hi all,
I''ll attach a new version zfs-auto-snapshot including some more
improvements, and probably some new bugs. Seriously, I have
tested it, but certainly not all functionality, so please let me know
about any (new) problems you come across.
Except from the change log:
- Added support to schedule using at(1), see
README.zfs-auto-snapshot.txt
- take_snapshot will only run if
2007 Jan 25
3
Usability concern with overrides
I''ve been tinkering around with managing users and am concerned with the
overall administrative usability of the inheritance overrides.
For instance, the user games:
redhat_base:
user { games: ensure => present }
local_site inherits redhat_base:
User[games] { ensure => absent }
This is fine, but imagine a few levels of nesting later with an admin that
wants to ensure that a
2008 Apr 02
2
Problem implementing multiple Environments
I am trying out having multiple environments so that I can push a test
config to a single server in production. The idea being that I could
push out a config change to one server and see if the change works in
production. If it does then I can merge the change into the
production environment and push the change out to all the clients.
So to test this I made a change to a config file in testing
2006 Dec 14
2
puppet --help fails
$ puppet --help
/opt/csw/lib/ruby/gems/1.8/gems/puppet-0.20.1/bin/puppet:103:
undefined method `feature'' for Puppet:Module (NoMethodError)
from /opt/csw/lib/ruby/1.8/getoptlong.rb:460:in `each''
from /opt/csw/lib/ruby/1.8/getoptlong.rb:457:in `each''
from /opt/csw/lib/ruby/gems/1.8/gems/puppet-0.20.1/bin/puppet:97
from /opt/csw/bin/puppet:18
2007 Nov 07
1
Possible bug in the fileserver: Does not follow symlinks
Hi gang:
I am writing a function to manually install a package from the
fileserver, without using the native package management system (in this
case, yum). This is useful when we, for whatever reason, don''t wish to
install the latest package from yum using the built-in support for
installing packages.
In the process, I''ve found what appears to be a bug.
If a file does not
2008 Mar 25
11
Failure to instal S10U4 HVM at SNV85 Dom0
System config:-
bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2
inet 192.168.1.53 netmask ffffff00 broadcast 192.168.1.255
ether 0:1e:8c:25:cc:a5
lo0:
2009 Jul 24
2
Solaris SMF services and their dependencies...
Hi all,
I have an NFS server on our network sharing out package files for
Puppet to install to all and sundry. The clients access said NFS
server via an automounter configuration (I don''t want the packages
share mounted all the time, only when installing packages) As a
result, installation of packages depends on autofs... So I have the
following:
service { "autofs": ensure
2006 Oct 31
0
6197520 svccfg import prints misleading message if supplied manifest with empty pg type
Author: sdussud
Repository: /hg/zfs-crypto/gate
Revision: f61d652f8555ce9713866ebafccf8dc96979b524
Log message:
6197520 svccfg import prints misleading message if supplied manifest with empty pg type
Files:
update: usr/src/cmd/svc/svccfg/svccfg_libscf.c
2006 Dec 21
7
Overriding types?
"Service and class definitions are scoped just as variable assignments are."
But what about types?
Here''s an example:
class solserver inherits server {
remotefile { "/etc/shadow":
mode => 400, group => staff,
source => "solall/etc/shadow.server"
}
Is it possible to just override the "/etc/shadow" definition for
2007 Nov 09
0
[PATCH] Fix FMRI for Solaris SMF
# HG changeset patch
# User john.levon@sun.com
# Date 1194621773 28800
# Node ID 7d588ef9d4769652d13947cc5a5d587007db4adb
# Parent 1957297911b1c113f0430f2494bf5daea68fa930
Fix FMRI for Solaris SMF
Update the FMRI for SMF to reflect reality (again).
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/tools/python/xen/lowlevel/scf/scf.c b/tools/python/xen/lowlevel/scf/scf.c
---
2009 Aug 05
4
[Bug 1627] New: SMF issues on sparse-root zones
https://bugzilla.mindrot.org/show_bug.cgi?id=1627
Summary: SMF issues on sparse-root zones
Product: Portable OpenSSH
Version: 5.2p1
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2008 Jul 19
2
problems with virt-install on snv_93
Hi,
I try to start Solaris10 HVM DomU on SNV_93 dom0 running amd athlon x2
and 8gb ram.
When I try to create a domU i get:
bash-3.2# virt-install -n sol10 --hvm -r 1024 --vnc -f
/dev/zvol/dsk/rpool/sol10 -c /rpool/pub/sol-10-u5-ga-x86-dvd.iso
Starting install...
virDomainCreateLinux() failed POST operation failed: (xend.err ''Device
0 (vif) could not be connected. Backend device not