search for: single_exec

Displaying 17 results from an estimated 17 matches for "single_exec".

2009 Aug 21
1
[PATCH server] update installer exec items to single_exec where applicable
...reeipa.pp index e5de852..f91cd43 100644 --- a/installer/modules/ovirt/manifests/freeipa.pp +++ b/installer/modules/ovirt/manifests/freeipa.pp @@ -29,12 +29,12 @@ class freeipa::bundled{ command => "/bin/hostname $ipa_host", } - exec {"set_kdc_defaults": + single_exec {"set_kdc_defaults": command => "/bin/sed -i '/\[kdcdefaults\]/a \ kdc_ports = 88' /usr/share/ipa/kdc.conf.template", require => Package[ipa-server] } - exec {"replace_line_returns": + single_exec...
2009 Jun 23
1
[PATCH server] added ovirt-wait4service and invokation in installer to wait for psql/ldap
...irt-wait4service diff --git a/installer/modules/ovirt/manifests/ovirt.pp b/installer/modules/ovirt/manifests/ovirt.pp index d953ebe..f293375 100644 --- a/installer/modules/ovirt/manifests/ovirt.pp +++ b/installer/modules/ovirt/manifests/ovirt.pp @@ -111,9 +111,15 @@ class ovirt::setup { single_exec { "create_ovirtadmin_acct" : command => "/usr/share/ovirt-server/script/grant_admin_privileges ovirtadmin", - require => [Single_Exec[db_migrate],Single_exec[set_ldap_hostname],Single_exec[set_ldap_dn]] + require => [Single_Exec[db_migra...
2009 May 15
1
[PATCH server] add server-side groundwork for remote freeipa server
...7709cbf..8f44090 100644 --- a/installer/modules/ovirt/manifests/dns.pp +++ b/installer/modules/ovirt/manifests/dns.pp @@ -24,52 +24,27 @@ import "augeas" define dns::common($guest_ipaddr="", $admin_ipaddr="",$guest_dev="",$admin_dev="") { + single_exec {"add_guest_server_to_etc_hosts": + command => "/bin/echo $admin_ipaddr $ovirt_host >> /etc/hosts", + notify => Service[dnsmasq] + } + package {"dnsmasq": - ensure => installed, - require => [Single_exec["add_d...
2009 Jun 15
1
[PATCH][ovirt-server] restart ipa after installation and before set admin password
...t/manifests/freeipa.pp b/installer/modules/ovirt/manifests/freeipa.pp index aa806fe..5a9fb44 100644 --- a/installer/modules/ovirt/manifests/freeipa.pp +++ b/installer/modules/ovirt/manifests/freeipa.pp @@ -64,6 +64,11 @@ class freeipa::bundled{ require => [Exec[set_kdc_defaults],Single_exec[dnsmasq_restart]] } + exec {"restart_ipa": + command => "/usr/sbin/ipactl restart", + require => Single_Exec[ipa_server_install] + } + exec {"get_krb5_tkt": command => "/bin/echo $fr...
2009 Jun 19
0
[PATCH server] make postgres wait for starting to complete before creating databases
...s/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp index 6620a88..a711e32 100644 --- a/installer/modules/ovirt/manifests/postgres.pp +++ b/installer/modules/ovirt/manifests/postgres.pp @@ -38,10 +38,15 @@ class postgres::bundled{ require => Package[postgresql-server] } + single_exec {"start_pgsql": + command => "/bin/su - postgres -c '/usr/bin/pg_ctl start -w -D /var/lib/pgsql/data'", + require => Single_exec["initialize_db"] + } + service {"postgresql" : ensure => running...
2009 Jun 23
1
[PATCH server] add postgres permissions requires prior to starting service
...sts/postgres.pp index c46b360..381d67c 100644 --- a/installer/modules/ovirt/manifests/postgres.pp +++ b/installer/modules/ovirt/manifests/postgres.pp @@ -41,7 +41,7 @@ class postgres::bundled{ service {"postgresql" : ensure => running, enable => true, - require => Single_exec[initialize_db], + require => [Single_exec[initialize_db],Exec[postgres_add_localhost_trust]Exec[postgres_add_all_trust]], hasstatus => true } -- 1.6.2.2
2009 Jul 06
1
[PATCH server] add ipv6 postgres trust
...index 36bcdc0..12b7764 100644 --- a/installer/modules/ovirt/manifests/postgres.pp +++ b/installer/modules/ovirt/manifests/postgres.pp @@ -41,7 +41,7 @@ class postgres::bundled{ service {"postgresql" : ensure => running, enable => true, - require => [Single_exec[initialize_db],Exec[postgres_add_localhost_trust],Exec[postgres_add_all_trust]], + require => [Single_exec[initialize_db],Exec[postgres_add_localhost_trust],Exec[postgres_add_all_trust],Exec[postgres_add_ipv6_loopback_trust]], hasstatus => true } @@...
2010 Aug 04
1
Build fails due to missing ovirt-node-recipe.ks
> - ace -d install ovirt has one error : package ovirt-node-image-pxe > not > found I get an error when FreeIPA is set up. Then a whole heap of notices and warning about a missing dependancy (presumably FreeIPA) debug: //freeipa::bundled/Single_exec[ipa_server_install]: Executing '/usr/sbin/ipa-server-install -r ovirt.priv -p 'supersecretpw' -P 'supersecretpw' -a 'supersecretpw' --hostname management.ovirt.priv -u dirsrv -U' debug: Executing '/usr/sbin/ipa-server-install -r ovirt.priv -p 'supersecretpw...
2009 Sep 11
2
ovirt ace error
Good morning, I have succesfully buil ovirt on fedora 11 but running ace -d l /tmp/ace.log install ovirt I got en error (I think it is krb5 issue). My server was not a kerberos server before installing ovirt, so I think ace procedure has installed it. Attacchede here there is the ace.log file. Could anyone help me ? Thanks & Regards Ignazio -------------- next part -------------- A non-text
2009 Aug 11
1
[PATCH server] remove appliance bits
...=> bind, - device => "/mnt/data/ovirtnfs", - require => [File["/mnt/data/ovirtnfs"],File["/ovirtnfs"]] -} - -file {"/usr/sbin/ovirt-appliance-setup": - source => "puppet:///ovirt/ovirt-appliance-setup", - mode => 755 -} - -single_exec{"ovirtnfs_export": - command => '/bin/echo "/ovirtnfs 192.168.50.0/24(rw,no_root_squash)" >> /etc/exports', - notify => Service[nfs] -} - -file{"/mnt/data/cobblernfs": - ensure => directory -} - -file{"/cobblernfs": - ensure...
2010 Jan 19
1
How I installed ovirt on fc 12
...uccessfully but I had to make some changes to make it work. 1. Installation from rpms builded from the lastest git version 2. Patch ace : missing backslashes in sed commands vim /usr/share/ace/modules/ovirt/manifests/freeipa.pp line 33 : '/\\[kdcdefaults\\]/a \\ kdc_ports = 88' single_exec {"set_kdc_defaults": command => "/bin/sed -i '/\\[kdcdefaults\\]/a \\ kdc_ports = 88' /usr/share/ipa/kdc.conf.template", require => Package[ipa-server] } Line 44 : <Proxy \\*> file_replacement{"ipa_proxy_...
2009 Apr 27
1
[PATCH server] fix the ovirt-mongrel-rails restart problem in the installer if ran more than once
.../ovirt.pp b/installer/modules/ovirt/manifests/ovirt.pp index 09b1925..03a93a7 100644 --- a/installer/modules/ovirt/manifests/ovirt.pp +++ b/installer/modules/ovirt/manifests/ovirt.pp @@ -156,7 +156,8 @@ class ovirt::setup { enable => true, require => [Package[ovirt-server],Single_Exec[db_migrate]], ensure => running, - notify => Service[httpd] + notify => Service[httpd], + hasstatus => true } service {"ovirt-taskomatic" : -- 1.6.0.6
2009 Jun 05
0
[PATCH server] update postgres for ipv6 support, or db:migrate will fail
...p b/installer/modules/ovirt/manifests/postgres.pp index 6620a88..1cea6a1 100644 --- a/installer/modules/ovirt/manifests/postgres.pp +++ b/installer/modules/ovirt/manifests/postgres.pp @@ -78,9 +78,15 @@ class postgres::bundled{ notify => Service[postgresql] } + single_exec{"postgres_add_ipv6_localhost_trust": + command => "/bin/echo 'host all all ::1/128 trust' >> /var/lib/pgsql/data/pg_hba.conf", + require => Exec[postgres_add_localhost_trust], + notify => Service[postgresql] +...
2009 May 20
1
[PATCH server] update host-browser to use ipa commands rather than kadmin
...aller/modules/ovirt/manifests/ovirt.pp b/installer/modules/ovirt/manifests/ovirt.pp index 2e91e69..d3d01d6 100644 --- a/installer/modules/ovirt/manifests/ovirt.pp +++ b/installer/modules/ovirt/manifests/ovirt.pp @@ -130,6 +130,11 @@ class ovirt::setup { notify => Service[qpidd] } + single_exec { "ipa_admin_keytab" : + command => "/usr/sbin/ipa-getkeytab -s $ipa_host -p admin@$realm_name -k /usr/share/ovirt-server/ipa-admin.tab", + require => Exec[get_krb5_tkt] + } + service {"httpd" : enable =>...
2009 Aug 11
0
[PATCH server] Added support for remote logging with rsyslog-gssapi to server.
...": ensure => installed; } @@ -97,6 +105,11 @@ class ovirt::setup { notify => Service["qpidd"] } + file {"/etc/rsyslog.conf": + source => "puppet:///ovirt/rsyslog.conf", + notify => Service["rsyslog"] + } + single_exec { "db_migrate" : cwd => "/usr/share/ovirt-server/", command => "/usr/bin/rake db:migrate", @@ -130,6 +143,18 @@ class ovirt::setup { notify => Service[qpidd] } + single_exec { "rsyslog_kerbsetup" : + command => "/usr/sbin/ovirt-...
2009 Jul 07
1
[PATCH] Set up ovirt-agent so it starts as a daemon
...ller/modules/ovirt/manifests/ovirt.pp +++ b/installer/modules/ovirt/manifests/ovirt.pp @@ -172,6 +172,12 @@ class ovirt::setup { ensure => running } + service {"ovirt-agent" : + enable => true, + require => [Package[ovirt-server],Single_Exec[db_migrate]], + ensure => running + } + service {"qpidd" : enable => true, ensure => running, diff --git a/ovirt-server.spec.in b/ovirt-server.spec.in index ad9dd2c..a315381 100644 --- a/ovirt-server.spec.in +++ b/o...
2009 Jul 02
2
How to install ovirt in working environment?
Hello, I have the following question. How to install ovirt in working environment? Details: I want to install ovirt server on a physical host with Fedora 10 (Intel, no VT). I installed rpms from ovirt repo as stated on website. I allready have ipa, cobbler, dns, dhcp, nfs, two networks and such set up and working. I want to preserve this setup. The host I am installing ovirt on is ipa