garcun 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 091b57cc6a987848fc8f7e9497367c90f3b3e141
4
- data.tar.gz: cc6405bab9133f36b7c26f27d20711c2d3ecf667
3
+ metadata.gz: 5bac8ab7ea7c3d130840c864fd9018cbeefaaab2
4
+ data.tar.gz: c98aa6892ba96910be6093d220440e8ba299d427
5
5
  SHA512:
6
- metadata.gz: a72ae5eb6840593c0ade85fe6f18a2d394adc6c479a58f7e194d95647fb349dc317cc9316f8b3c65c97b6606f242f985d2a045ec519bb69981bef35f35b3b81a
7
- data.tar.gz: 2020ed1a932abb9cccdefa20ae85fd95080663edf5516e53d177ecfaf4852479896d86958aeb98bf1090559c1b5e516969ba4c922c1636149132896078737029
6
+ metadata.gz: ac94e071932be8d6cec9e55c8d6a92367bccbd18f036660808e0977a9b5cb7021ead9e8e7d101f72d897ae35c8f01809f5262bfd82540ade5b30b791109b60d6
7
+ data.tar.gz: 914e7e9c271a465f7f06faa403331aee314e3aa9a11de937242ff536a90033e3b5b9e44ce4f145aa85229e94992f598d63d00ac1206973b27c044b3d52c13f10
@@ -109,8 +109,7 @@ class Chef
109
109
  when 'debian'
110
110
  e = Chef::Resource::Execute.new('Set locale', run_context)
111
111
  e.command "/usr/sbin/update-locale LANG=#{r.local}"
112
- e.not_if { docker? }
113
- e.action :run
112
+ e.action :run unless docker?
114
113
  when 'rhel'
115
114
  t ||= Chef::Resource::Template.new('/etc/sysconfig/i18n', run_context)
116
115
  t.cookbook 'garcon'
@@ -118,8 +117,7 @@ class Chef
118
117
  t.group 'root'
119
118
  t.mode 00644
120
119
  t.variables local: r.local
121
- e.not_if { docker? }
122
- t.run_action :create
120
+ t.run_action :create unless docker?
123
121
  end
124
122
  end
125
123
 
@@ -27,7 +27,7 @@ module Garcon
27
27
  module Version
28
28
  MAJOR = 0
29
29
  MINOR = 0
30
- PATCH = 4
30
+ PATCH = 5
31
31
 
32
32
  # Returns a version string by joining MAJOR, MINOR, and PATCH with '.'
33
33
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garcun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Harding