auser-poolparty 0.2.59 → 0.2.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,20 +1,16 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
3
  . /etc/profile
4
- # rm -rf /etc/puppet/ssl
5
- if [ `/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master` ];
4
+ if [ $(/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master) ];
6
5
  then
7
6
  echo '';
8
7
  else
9
- ps aux | grep puppetmaster | awk '{print $2}' | xargs kill
10
- /etc/init.d/puppetmaster stop
11
- rm -rf /etc/puppet/ssl
12
- /etc/init.d/puppetmaster start
13
- if [ `/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master` ];
8
+ ps aux | grep puppetmaster | awk '{print $2}' | xargs kill; /etc/init.d/puppetmaster stop; rm -rf /etc/puppet/ssl; /etc/init.d/puppetmaster start
9
+ if [ $(/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master) ];
14
10
  then
15
11
  echo '';
16
12
  else
17
13
  # Try again
18
- /usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master
14
+ /usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master 2>&1
19
15
  fi
20
16
  fi
@@ -2,11 +2,11 @@
2
2
 
3
3
  . /etc/profile
4
4
  # rm -rf /etc/puppet/ssl
5
- if [ `hostname` -eq "master"];
5
+ if [ $(hostname) -eq "master"];
6
6
  then
7
7
  /bin/sh puppetrerun
8
8
  else
9
- if [ `/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master` ];
9
+ if [ $(/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master) ];
10
10
  then
11
11
  echo '';
12
12
  else
@@ -2,7 +2,7 @@ module PoolParty
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 59
5
+ TINY = 60
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/poolparty.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poolparty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.59
4
+ version: 0.2.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auser-poolparty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.59
4
+ version: 0.2.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner