Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3755295
D2107.id5319.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2107.id5319.diff
View Options
diff --git a/map.jinja b/map.jinja
--- a/map.jinja
+++ b/map.jinja
@@ -119,6 +119,7 @@
'librabbitmq': 'librabbitmq-dev',
'lua': 'lua5.1',
'mariadb': 'mariadb-server',
+ 'netcat': 'nc',
'node': 'nodejs',
'pear': 'php-pear',
'phpcs': 'php-codesniffer',
@@ -144,6 +145,7 @@
'librabbitmq': 'librabbitmq',
'lua': 'lua',
'mariadb': 'mariadb-server',
+ 'netcat': 'nmap-netcat',
'node': 'nodejs',
'pear': 'php-pear',
'phpcs': 'php-pear-PHP-CodeSniffer',
diff --git a/roles/core/userland-software/init.sls b/roles/core/userland-software/init.sls
--- a/roles/core/userland-software/init.sls
+++ b/roles/core/userland-software/init.sls
@@ -6,7 +6,7 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-{% from "map.jinja" import dirs with context %}
+{% from "map.jinja" import dirs, packages with context %}
# -------------------------------------------------------------
# Software sources
@@ -61,7 +61,7 @@
- tree
- wget
{% if grains['os'] != 'FreeBSD' %}
- - nc
+ - {{ packages.netcat }}
{% endif %}
{% if grains['os_family'] == 'RedHat' %}
- psmisc
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 14:42 (21 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252501
Default Alt Text
D2107.id5319.diff (1 KB)
Attached To
Mode
D2107: Install netcat on CentOS
Attached
Detach File
Event Timeline
Log In to Comment