Skip to content

Commit

Permalink
Run all of the commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
darron committed Jan 18, 2014
1 parent 90bde18 commit dbd45ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion metadata.rb
Expand Up @@ -4,7 +4,7 @@
maintainer_email 'darron@froese.org'
license 'Apache 2.0'
description 'Installs/configures all base Ubuntu installs.'
version '0.5.0'
version '0.6.0'
recipe 'ubuntu_base::default', 'Installs/configures all base Ubuntu installs.'

depends 'apt'
16 changes: 10 additions & 6 deletions recipes/default.rb
Expand Up @@ -18,12 +18,16 @@
# limitations under the License.
#

execute :fix_locale do
command 'export LANGUAGE=en_US.UTF-8'
command 'export LANG=en_US.UTF-8'
command 'export LC_ALL=en_US.UTF-8'
command 'locale-gen en_US.UTF-8'
command 'dpkg-reconfigure locales'
bash 'fix_locale' do
user 'root'
cwd '/tmp'
code <<-EOH
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
EOH
end

execute 'apt-get-update' do
Expand Down

0 comments on commit dbd45ae

Please sign in to comment.