From 42b71bd37290b3c2e67fd058efdd251fbb03594f Mon Sep 17 00:00:00 2001 From: Grigory Efimov Date: Fri, 12 Oct 2018 14:30:02 +0300 Subject: [PATCH] .bashrc: fix aliases --- .bashrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index d2b90eb..bdf1da7 100644 --- a/.bashrc +++ b/.bashrc @@ -164,15 +164,15 @@ export SCREENDIR=$HOME/.screen # puppet alias pagent='puppet agent -t --pluginsync' alias pagent_noop='puppet agent -t --pluginsync --noop' -alias pagent_myenv='puppet agent -t --pluginsync --environment=gefimov' -alias pagent_myenv_noop='puppet agent -t --pluginsync --environment=gefimov --noop' -alias pagent_myenv_local='puppet agent -t --pluginsync --environment=gefimov_local' -alias pagent_myenv_local_noop='puppet agent -t --pluginsync --environment=gefimov_local --noop' +alias pagentMyenv='puppet agent -t --pluginsync --environment=gefimov' +alias pagentMyenv_noop='puppet agent -t --pluginsync --environment=gefimov --noop' +alias pagentMyenvLocal='puppet agent -t --pluginsync --environment=gefimov_local' +alias pagentMyenvLocal_noop='puppet agent -t --pluginsync --environment=gefimov_local --noop' if [[ -s /etc/puppet/puppet.conf ]]; then if grep -qw environment /etc/puppet/puppet.conf; then PUPPET_ENV=$( grep -w environment /etc/puppet/puppet.conf | head -1 | awk '{print $NF}' ) - alias pagent_penv_noop="puppet agent -t --noop --pluginsync --environment=gefimov_$PUPPET_ENV" - alias pagent_penv="puppet agent -t --pluginsync --environment=gefimov_$PUPPET_ENV" + alias pagentPenv_noop="puppet agent -t --noop --pluginsync --environment=gefimov_$PUPPET_ENV" + alias pagentPenv="puppet agent -t --pluginsync --environment=gefimov_$PUPPET_ENV" fi fi